Flex Zend AMF服务推动ORM代码生成适当的
- 资源大小:153.52 kB
- 上传时间:2021-06-30
- 下载次数:0次
- 浏览次数:1次
- 资源积分:1积分
-
标 签:
orm
代码生成
服务
适当
推动
资 源 简 介
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
文 件 列 表
DacodersCRUD_rc
.project
generated_classes
GenerateServer.php
GeneratorASDO.php
GeneratorController.php
generatorCRUd.txt
GeneratorDO.php
GeneratorJDO.php
GeneratorStub.php
index2.php
make me batch.txt
nbproject
propelsettings.inc
readme.txt
resources
Zend