PHP Architect Article
Thursday, July 27th, 2006 (06:11)My first article for php|a, Introduction to Solar, is online. Give it a read, let me know what you think.
My first article for php|a, Introduction to Solar, is online. Give it a read, let me know what you think.
I released Solar 0.21.0 yesterday, and a quick followup 0.22.0 today. The rest of this entry covers highlights for changes in both versions. The main highlights are three new classes (Solar_Struct, Solar_Sql_Row, and Solar_Sql_Rowset) along with a backwards-compatibility break to how classes store their default configuration values.
Rodrigo Moraes just set up a web interface to search the Solar-Talk mailing list. From his announcement on Solar-Talk:
The Solar-talk archives are now searchable:
http://tipos.org/solartalk/
It is a very rudimentary mini-app using Solar & Zend_Search_Lucene for the indexing. Some features are still not implemented like pagination and exact phrase match. Messages will be indexed once a [...]
It appears that an input tag is not allowed to appear directly within a form tag. To be valid XHTML 1.1 strict, the input tag must be wrapped by another block-level element, such as <p> or <fieldset>. Read on for yet another Solar solution.
Solar now makes benchmarking as easy as it does unit-testing; read on for how to write a simple benchmarking test with Solar_Test_Bench, and the 5x speed gain of Solar::loadClass() over require_once().