ice php framework preview release

Download Ice Php Framework Preview Release

If you can't read please download the document

Upload: denis-shestakov

Post on 25-Jul-2015

1.081 views

Category:

Internet


0 download

TRANSCRIPT

1. IcePHP FrameworkPreview Release(version 0)http://iceframework.nethttps://github.com/ifacesoft/icehttp://vk.com/iceframework dp (c) 2014 Ifacesoft | dp BSD ICE 2014 2. . ;) ; ; ; , ; 7 ; composer; JQuery, Bootstrap; ; -. ... 3. . ) Ice php 5.4 ; ; ; ; ; ; ; . 4. Ice? ... Route: . ; Config: . , . Environment: ( 3 :production, test development) Action: . ( ); View_Render: (: Ice:Php, Ice:Smarty, Ice:Twig .);Data_Provider: (:Ice:Apc, Ice:Redis, Ice:Mysqli, Ice:Registry, Ice:Session ); Data_Source: - CRUD ( Ice:Mysqli); Query_Builder: ; Code_Generator: , ; Validator: , . ;); Form, Logger (. IceCore*). 5. : Config Resource (javasript, css,images, Source Web Document root - Var 6. Ice? )Model-View-Co... Command(Action) 7. 3 Composer$ curl -s http://getcomposer.org/installer | php Composer- Ice$ php composer.phar create-project ifacesoft/ice Ice dev-master ( Ice)$ ./Ice/cli Ice:Module_Create .! 8. .. Blog (Config/Ice/Core/Module.php):return ['alias' => 'Blog','module' => ['name' => 'my blog','url' => '','authors' => '','vcs' => 'mercurial','source' => '',],'modules' => [ROOT_DIR . 'DbManager' => 'default'ICE_DIR => '0.0']]; , (DbManager Ice ). , , .( Model::get() ) 9. 3 Production: , . . Test: ( ), . Development: , . (Config/Ice/Core/Config.php)'IceCoreEnvironment' => ['environments' => ['/blog.global$/' => 'production','/blog.test$/' => 'test','/blog.local$/' => 'development',],], (Config/Ice/Core/Environment.php) , . 10. Route. , ? (Config/Ice/Core/Route.php)return ['blog_post' => ['route' => '/blog/cabinet/{$blogTranslit}/post/{$postTranslit}','GET' => ['actions' => ['main' => 'Blog:Cabinet_Post_Index','title' => ['Ice:Title' => ['title' => 'Cabinet - Post']]],'layout' => 'Blog:Layout_Cabinet','params' => ['blogTranslit' => '([^/]+)','postTranslit' => ['([^/]+)', true]],],'weight' => 1000]]; ;) 11. Co.. Command (Action) ; $config ; run.