PHP developer looking for solutions equivalent to Java EE architecture

I am a PHP developer, I read about Java EE technologies, and I want to implement such technologies (n-level, EJB, JPA ...) with PHP and everything that happens with (MySQL, Apache ...).

+5
source share
2 answers

Not.

PHP is not Java. Writing PHP code, like writing Java code, is stupid and counterproductive. This is likely to make future maintainers of the code want to harm you.

Need to save an object? Use ORM .

? , 9/10th .

EJBs? , , -. ? , ? , , PHP. ORM / .

: PHP- " ".. , - : overarchitected , .

PHP . Java, Zend Framework . , CodeIgniter - . .

, .

+9

. , , , , . , PHP- , ( , , Xen.)

, , PHP 10 Linux OpenSUSE, 25 Xen (VM). VM , , , , MySQL, , RAID . NFS , / / RAID.

, QA, Staging (User Acceptance) Production.

, PHP :

(VM)

  • ( 80) - AJAX, , ..
  • ( 443) - Unit Test
  • ( 443) - API - RESTful ( ) , "".

MIDDLE TIER (VM)

  • - - ,
  • - , .

BACK-END TIER (VM)

  • - SQL , , , ( ) , , ... : PostgreSQL MySQL . PHP- .

, Framework , . " " , , .

, , , , Framework.

? ? . , , . , , , .

"", , . , , , , .

, , , " ", Frameworks. , , , , , .

0

All Articles