26014Redeclaring native PHP functionshttp://openideascompany.com/bogomil/?p=42I need to redeclare session_start() to store my sessions in 2 or more servers using RIXP services. If you have 3 servers and when you want to store sessions in one place not to the 3 servers or if you want to shutdown one of servers and to transfer all to other you need a decision that will works in many languages such in perl, PHP, Java ?.
I don?t wont to rewrite my application, I just want to redeclare some functions at all.PHP > Tips and Tutorials > DevelopmentOct 15, 2006OIC: Bogomil Shopov
Fluent Interfaces is not a new programming construct, in fact many of you may be doing it without knowing it?s name. In other languages it is commonly known as ?chaining?. However, PHP developers have not been able to use them until PHP 5. Now with PHP 5 and the ability to directly dereference an object, PHP developers can build objects using fluent interfaces.
Today I would like to share with you a quick way to have a plug-in engine running at your site. I came up with this concept quickly a few days ago when I needed to make an extensible layer for one of our projects.
I need to redeclare session_start() to store my sessions in 2 or more servers using RIXP services. If you have 3 servers and when you want to store sessions in one place not to the 3 servers or if you want to shutdown one of servers and to transfer all to other you need a decision that will works in many languages such in perl, PHP, Java ?.
I don?t wont to rewrite my application, I just want to redeclare some functions at all.
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.