9. Little bit detail
12 developers in project
Current version is 0.9.5 Almost There
CakePHP like code
Able to integrate outside Libraries.
Including Unit Test, Console, Document
Refined View and Model layer.
9
10. PHP5,3
Namespace
Finally language orgnizes naming rule.
Late Static Binding (LSB)
Allow full extending static class.
Clousure
Promote Aspect Oriented Programming.
This is time to evolve our self.
10
13. Install
PHP5.3 Also XAMPP
MongoDB is recommended, MySQL is beta.
Just extract archive.
http://rad-dev.org/lithium/versions
Database setting
app/config/connections.php
Simple install steps
13
16. Blog Tutorial
Controller calls PostModel
Writing template with pure php.
If you use MySQL, need to create schema first.
Namespace Namespace Namespace
Smaller code than any other Framework.
16
21. Where is flexibility ?
Isolatated core classes
You can replace any class inside flow.
Libraries class is able to load any classes
Specify structure by closure
Filter system
No more callback
Less sub class
21
22. 13 Packages of Lithium
action security
analysys storage
console template
core test
data tests
g11n util
net
22
23. Typical class tree
Provides common structure for
Object each classes.
For Static class.
StaticObject (including any model classes)
Provides configuable structure
Adaptable
23
24. Unified constructor
Object class provides common constructor
function __construct(array $config = array())
function __construct(array $config = array())
function __construct(array $config = array())
function __construct(array $config = array())
function __construct(array $config = array())
function __construct(array $config = array())
function __construct(array $config = array())
24
28. Recap
Lithium is lightest and most flexible.
Using much PHP5.3
LSB
NameSpace
Closure
Community is still growing up.
Documents and plugin will come soon.
28