其他
it will read your database and will create following things for that 1)It generates ACTION SCRIPT DO agisnt your tables 2)JavaDO 3)services with basic crud option with propel orm 4)gateway.php
Setting 1)put ur information in class.database.php in resources file 2) rename make_me_batch.txt file to generatorCRUD.bat or generatorCRUD.sh 3) run tht file , NOTE : you should have php in your windows or linux path 4)put zend framework to generated folder 5)Create Folder for ur application and paste all created files and folders
from generated_classes
How to generate ORM agisnt generated code:
Generatte Propel: Note : U must have Propel runttime generator and xsl enabled to ur host
1)Step 1 to to services folder and run this command propel-gen ./ reverse it iwll create schema files from database it takes values from
build.properties output:schema.xml
2) now run propel-gen command to build up ur orm fields
orm
代码生成
服务
适当
推动
暂无评论