jokerhacker
Active Member
i like the fact that it uses all new php standards.
$_SQL = new Model\Database\DBAL\Adapter\Connection('db', 'root', 'passwordmysql', 'radical_blog');
$sql = $this->logTable->select('log_id,log_status,log_to')
->where(array('host_id'=>$host->getId()))
->order_by('log_to','DESC')
->limit(1);
//or for update etc
$sql = $this->logTable->update()
->where('log_id',$row['log_id'])
->set('log_to',\DB::toTimeStamp(time()));
//also this can be done directly on non modeled tables using DB::Select();
$user = \X4B\DB\User::fromId(1);
$user->setName('admin');
$user->Update();
//or
$users = \X4B\DB\User::getAll();
//and / or
$users->sql->where('user_username','tester');
foreach($users as $user){
echo $user->getEmail(),'<br />';
}
First of all thanks, while I acknowledge that there are tons of large frameworks out there (and that was the main reason it took me a year before I even posted this publicly) I dont believe this is a reason to not develop new ones. I don't think there is any framework out there that meets the same criteria or style of this framework. And while we are underdocumented, supported etc we are a very young project which much to go (I dont expect a stable release until atleast a year from now). I definitely understand the size of this project, It was initially quite a deterant to the undertaking but none the less here we are in early alphas.
This framework shares alot of common features with Kohana, in fact it even includes a modified version of the Arr class from it. I have used Kohana extensively for work, howeaver it has alot of faults (overriding order of system>modules>app is the major one, resulting in large app small module development instead of the more efficient modular pattern). If you think a feature is missing you are quite welcome to fork and write them in, or improve existing ones. I do pull from forks where the work is up to par.
Also be careful stating the features argument, I think you would be surprised at the number of features complete, most aren't documented yet and as such are unknown to most people.
Basic documentation is certainly high on the priority list, Its one of the 0.2.x milestones to complete basic documentation for most user facing classes. The other main milestone is bugfixes, we all know how fun bug hunting is.
https://dl.dropbox.com/u/62365823/radical-php/radical-php-0.1.0alpha5.zip
0.1.0 alpha5 posted. Mostly bug fixes, some performance tweaks and some new classes / more complete classes. Lots more PHPDoc documentation.
---------- Post added 27th Jun 2012 at 01:27 AM ---------- Previous post was 26th Jun 2012 at 09:58 PM ----------
New release, supports relative urls so you can now just place it in your localhost.
Thanks to Baraka for debugging and reporting the bug.
Framework:
https://dl.dropbox.com/u/62365823/radical-php/radical-php-0.1.0alpha6.zip
Blog:
https://dl.dropbox.com/u/62365823/radical-php/radical-blog-internal-preview4.rar