Is it possible to interrelate two PHP frame works ?
1 reply to this topic
#1
Posted 13 June 2011 - 06:09 AM
|
|
|
#2
Posted 13 June 2011 - 11:22 AM
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.
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


Sign In
Create Account

Back to top









