Jump to content

PHP Framework Doubt

- - - - -

  • Please log in to reply
1 reply to this topic

#1
jimmybrion

jimmybrion

    Newbie

  • Members
  • Pip
  • 1 posts
Is it possible to interrelate two PHP frame works ?

#2
njr1489

njr1489

    Learning Programmer

  • Members
  • PipPipPip
  • 70 posts
Frameworks are built so that you code in a certain way (their way), resulting to what the authors believe would help you write faster code. If you're talking about intermingling two frameworks into one, that doesn't seem safe as each of them would most likely have code that accomplishes the same thing but in a different way.

What you can do, is if those frameworks provide loosely coupled components (things you could use in just standard PHP). For example, you can use the Zend Framework, which has tons of functionality out of the box, and use the Symfony components in your Zend Library. There, I can write all the PHP code under Zend, and yet use something like Symfony's Dependency Injection components. It's a cool setup.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users