Custom-Framework
This home-made framework based on Simfony 2 components has been created on the occasion of the nuit de l'info 2014.
It allowed the team Respectless to win the challenge Better development using the technologies of Web / mobile.
This mini-framework is very simple and allows you to create quickly a web site. It includes the elements which we find classically in a system MVC (Router, Model, Controller, View), It also includes notions of safety(security), of identification and a developer mode / and production (Still in development).
As well as a datagrid using the sources of spyrit/propel-datagrid-bundle., (*1)
Installation
Composer
The project is stored on packagist Chenzel/custom-framework, (*2)
Master
composer create-project chenzel/custom-framework myproject dev-master
or, (*3)
Demo
composer create-project chenzel/custom-framework myproject dev-demo
or, (*4)
Tag
composer create-project chenzel/custom-framework myproject 0.*
For those solutions, go to your folder "myproject" and make, (*5)
composer dump-autoload
Propel
Take position you in the root of your project, (*6)
Create the symbolic link for propel., (*7)
ln -s vendor/bin/propel propel
To have the console propel, (*8)
./propel or php ./propel
Create the configuration file of propel, (*9)
cp config/propel.dist.yml config/propel.yml
In the propel.yml configuration file replace the chain "custom_framework" by the name of your database created for your project, As well as in the file config/schema.xml, (*10)
To generate the configuration file of propel, (*11)
./propel config:convert
Generate the model propel (To make every time you will change your file config/schema.xml)
./propel sql:build
./propel model:build
./propel migration:diff
./propel migration:migrate
Can be necessary, (*12)
composer dump-autoload
Try the demo
Composer
composer create-project chenzel/custom-framework myproject dev-demo
Make the same process of installation of propel.
Make the dump sql inconfig/dump/custom_framework_2014-12-14.sql, (*13)
Go with your web browser prefered to the following address :
home
127.0.0.1 ou name-of-local-domain.*, (*14)
Admin
127.0.0.1/admin ou name-of-local-domain.*/admin, (*15)
login : test@test.com
mot de passe : test, (*16)
Documentation
Routing
TO DO, (*17)
Controller
TO DO, (*18)
View
TO DO, (*19)
Web Folder
TO DO, (*20)
Security
TO DO, (*21)
Datagrid
TO DO, (*22)
I would like to thank, (*23)