>
> Thanks,
> Federico
--
www.RainTPL.com
group at http://groups.google.com/group/raintpl
to post write at rai...@googlegroups.com
unsuscribe at raintpl+u...@googlegroups.com
PHP 6 Cancelled, PHP 5.4 Will Have APC Built In
Another big news story in the PHP world is the announcement that the PHP team has put off PHP 6 and instead are working towards PHP 5.4. This decision doesn't mean all the new features we wanted in PHP 6 are dead. Instead they are rolling some of those features into 5.4, and most notable, they will be bundling the highly popular APC caching engine with the release.
What really gets me excited about this news is that we may see better support for APC in projects like Drupal and Wordpress. Imagine not having to go through the hassle of installing and configuring another plugin, but rather just download and install your favorite CMS and get the benefits of APC's user cache right out of the box. Not only that, but having the op-code caching benefits "out of the box" will be a big boost to the PHP project as a whole.
So we have some really exciting times coming up and I can't wait to see where we are at in the next four years.
Sorry for my bad english :-( .
For some time I read your mails.
I have a question to the rainTPL engine.
In the moment i works with the zend framework.
The business logic is organiced in models.
I will take a model with a function in the templat.
For example:
I have a model for a 'booklist'. The model can be initialised
with a singleton pattern. I will build a function for the templat.
This function should make an instance of the class.
And the second step. The function make an return with this object.
Now i will use the object in the templat.
Is there an way ?
Sorry for my bad english !
Your sincerly
Stephan Krau�
Stephan Krauß
Thank you for the quick quick response.
Do you have an example of the integration RainTPL in Zend ?
I would like an example.
I have a new question to RainTPL.
I will make the instance of the model in RainTPL.
For example:
I have an function:
{$bookObject = function="getObject('main_model_booklist')"}
In this function i build an instance of my class with the singleton
pattern.
The function became an parameter.
This parameter is the place where you can find the model.
The instance of the model is saved in the variable '$bookObject'.
I will use the bookObject in this way.
{$bookObject->getBookList()}
Is this correct ?
On the weekend i will test the attached version of RainTPL.
Sorry for my bad english.
Your sincerly
Stephan Krauß