Stale Sessions
Submitted by cyberlot on Fri, 03/17/2006 - 15:29Have been working on a PDO based session class, making some improvements here and there and noticed something thats not really brought up much that I can see.
You can define when the cookie expires, and when a session will be considered garbage, but theres 2 problems there.
- Its easy to edit a cookie
- Garbage collection works best on busy sites by default
Zend Framework Notes
Submitted by cyberlot on Sat, 03/11/2006 - 10:29Just keeping a list of important notes that I thought people might be interested in and where not currently documented to my knowledge.
Code snippets and examples can be found Here
Between 0.1.1 and 0.1.2 the format for your actions changed from
function index() to function indexAction()
Within your controllers you can access URL passed parameters using
$this->_getAllParams()
Defining
function __call($action, $args)
Zend Framework take two
Submitted by cyberlot on Tue, 03/07/2006 - 16:23I am a huge fan of the Savant template system so I thought I really should give this Framework a shot since Paul was hired by Zend to work on the framework and is one of the masterminds behind the views system.
After browsing around I quickly could tell the areas that Paul had blessed with his insight so I took to doing to Zend Framework what I had done to Savant3, making an extremely easy way to use gettext with your site.
To make a long story short read this past article
http://www.cyberlot.net/Savantgettext
Then take a look at
And the source at
Zend Framework first impressions
Submitted by cyberlot on Sat, 03/04/2006 - 08:10First of let me be straight forward right now, I am not one for a "magic" Framework because there just isn't a one "Framework" covers all solution.
Frameworks are like swiss army knives. There good to have around, come in very handy but when it comes down to the real dirty work and you need control and power your going to break out the seperate snap-on tools required for the job.
0.3 Client released
Submitted by cyberlot on Mon, 02/27/2006 - 15:53Been busy and there hasn't been a release in a while so I thought I would clean up a few things and package off the new beta client.
At this point the client is about 90% complete as far as being a fully workable base client. Once everything is finalized I can start working on new features. Enjoy.
Patents, Warp Engines and Software
Submitted by cyberlot on Sun, 02/19/2006 - 09:41It seems someone recently tried to patent a "Warp Engine"
http://patentlaw.typepad.com/patent/2006/02/pto_requests_mo.html
Currently this patent is on hold until some sort of model or proof of concept can be provided.
Why is this not done with software? How many patents out there right now have NEVER been used by the person or company that owns the patent. How many patents are filed each year purely as a "fishing" for money exercise?
Savant and gettext support
Submitted by cyberlot on Mon, 12/26/2005 - 15:41Currently using Savant3 for a few projects I am working on, one required international support.
My first thoughts resulted in the following Savant_gettext which allows you to use gettext within your Savant template.
This works but after thinking about it on a busy website all this translation would use a lot of CPU on "static" content, but the website is 90% dynamic so caching was difficult.
Extending PDO and PDO::FETCH_ASSOC
Submitted by cyberlot on Fri, 12/16/2005 - 09:36One thing with pdo, every time you do a statement you have to tell if what mod to use for fetch. You can do this either directly by passing a value like PDO::FETCH_ASSOC to your fetch statements or to setFetchMode for each query result.
Now if your like me and use the same exact mode 99% of the time this can get a little annoying, The following blog by the developer goes into a little detail on why this is and methods you can extend PDO to change this if you so need.
Another php BC break
Submitted by cyberlot on Sun, 11/20/2005 - 08:43Check out http://bugs.php.net/bug.php?id=33772 And also http://bugs.php.net/27555
As of php 5.1 and it seems 4.4.1 there is another BC break one that could break anything using a object based database library within there custom session handler, and also make any registered shutdown function useless if it relys on objects, although the bugs focus on the session aspect of things.
This isn't something you can just "Document" away like they are trying to do.
Basically they are saying any user made or php made object is useless during the shutdown phase of php.
FlashUnity 0.6 released ( client also! )
Submitted by cyberlot on Wed, 11/16/2005 - 06:39This marks the first series of releases since I split everything off into there own PEAR packages, it just happens I released a new version of each package plus the first client package at the same time!
The filters are now considered stable, I can't think of anything else there I could add to the 2 current filters that exist so Login and Logger are now 1.0 stable
I am still not comfortable making the core code stable, still to many core changes not just bug fixes so its been moved up to 0.6.

