Page 1 of 1
Will Yii-2.0 have Aspect Oriented aproach?
#1
Posted 07 January 2011 - 07:35 AM
Main question will is will yii be supporting AOP in near future.
Advantages is that features such as Debugging,Loging,Security rules, and other stuff will be written more easily and modification and managing wont be very hard.
in disadvantages there is no adequate tools to manipulate Aspects and Advices for php, maybe in Gii implementing such will solve it.
and then... at last will be possible to use Behavior event in different aspects of features.
P.S.
it will be splendid if even not fully AOP specification implemented (and in some point its not need due other cool features of Yii-2.0).
Advantages is that features such as Debugging,Loging,Security rules, and other stuff will be written more easily and modification and managing wont be very hard.
in disadvantages there is no adequate tools to manipulate Aspects and Advices for php, maybe in Gii implementing such will solve it.
and then... at last will be possible to use Behavior event in different aspects of features.
P.S.
it will be splendid if even not fully AOP specification implemented (and in some point its not need due other cool features of Yii-2.0).
#2
Posted 17 August 2011 - 02:03 PM
Ulten, on 07 January 2011 - 07:35 AM, said:
Main question will is will yii be supporting AOP in near future.
Advantages is that features such as Debugging,Loging,Security rules, and other stuff will be written more easily and modification and managing wont be very hard.
in disadvantages there is no adequate tools to manipulate Aspects and Advices for php, maybe in Gii implementing such will solve it.
and then... at last will be possible to use Behavior event in different aspects of features.
P.S.
it will be splendid if even not fully AOP specification implemented (and in some point its not need due other cool features of Yii-2.0).
Advantages is that features such as Debugging,Loging,Security rules, and other stuff will be written more easily and modification and managing wont be very hard.
in disadvantages there is no adequate tools to manipulate Aspects and Advices for php, maybe in Gii implementing such will solve it.
and then... at last will be possible to use Behavior event in different aspects of features.
P.S.
it will be splendid if even not fully AOP specification implemented (and in some point its not need due other cool features of Yii-2.0).
if yii support aop di that will be very cool 。 we need a framework to easy our life

any way there are some php frameworks support the aop like: Ding ,typo3, workingtitle ...
some project you can find in google code :http://code.google.com/p/php-aop/people/detail?u=@WBRfQFJQAhRFWAN9
some article : http://www.slideshar...ramming-for-php
http://dsheiko.com/w...lopment-and-php
#3
Posted 24 August 2011 - 10:57 AM
AOP is not really possible in PHP until it supports a real fcgi.
The features may look great in a theory, but you need to take into account that it needs a complex object structure residing in RAM, which requires an application server.
The features may look great in a theory, but you need to take into account that it needs a complex object structure residing in RAM, which requires an application server.
#4
Posted 13 February 2013 - 05:19 AM
I'm happy to announce that AOP is available for PHP now!
There is a pure PHP library that you can use for AOP with Yii framework. It is available at github.com/lisachenko/go-aop-php.
You can also have a look at the demo for Yii application: github.com/lisachenko/yii-aspect (just clone it and run in the browser)
There is a pure PHP library that you can use for AOP with Yii framework. It is available at github.com/lisachenko/go-aop-php.
You can also have a look at the demo for Yii application: github.com/lisachenko/yii-aspect (just clone it and run in the browser)
#5
Posted 13 February 2013 - 09:20 AM
It's very impressive and good to have as an extension or recipe but I don't think it should be included into the core.
Yii 2.0 Development Cookbook
Enjoying Yii? Star us at github
Support me so I can work more on Yii: https://www.patreon.com/samdark
Enjoying Yii? Star us at github
Support me so I can work more on Yii: https://www.patreon.com/samdark
#6
Posted 13 February 2013 - 01:33 PM
samdark, on 13 February 2013 - 09:20 AM, said:
It's very impressive and good to have as an extension or recipe but I don't think it should be included into the core.
Agree with you that AOP shouldn't be in the core. Yii is simple, fast and reliable framework, whereas AOP is a new technology for PHP and it's quite difficult to understand how to use it properly. However, as an extension for common use cases in application (logging, caching, transaction management, etc)- why not?
#7
Posted 19 March 2013 - 09:07 PM
Lisachenko Alexander, on 13 February 2013 - 05:19 AM, said:
I'm happy to announce that AOP is available for PHP now!
There is a pure PHP library that you can use for AOP with Yii framework. It is available at github.com/lisachenko/go-aop-php.
You can also have a look at the demo for Yii application: github.com/lisachenko/yii-aspect (just clone it and run in the browser)
There is a pure PHP library that you can use for AOP with Yii framework. It is available at github.com/lisachenko/go-aop-php.
You can also have a look at the demo for Yii application: github.com/lisachenko/yii-aspect (just clone it and run in the browser)
yeah,now that AOP is available for php extension by fcrosfly in github:https://github.com/baixing/AOP
Share this topic:
Page 1 of 1