netbeans et symfony, création d'un nouveau projet
bonsoir, j'avais déjà ouvert un sujet dans la rubrique symfony, mais étant donné que je compte développer sous netbeans, je vais plutôt venir en parler ici ^^
premièrement, je suis sur Windows Seven, et non sur un Linux quelconque !
deuxièmement, j'ai lu et effectué le tutoriel suivant : http://www.developpez.net/forums/d88...s-6-8-symfony/
Désormais j'ai mon nouveau projet. j'ai rempli le schema.yml :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
| # config/doctrine/schema.yml
eureka_gbClient:
actAs: { Timestampable: ~ }
columns:
nom_client: { type: string(100), notnull: true, unique: true }
lien_client: { type: string(100), notnull: true, unique: true }
eureka_gbAlbum:
actAs: { Timestampable: ~ }
columns:
id_client: { type: integer, notnull: true}
nom_album: { type: string(100), notnull: true, unique: true }
relations:
eureka_gbClient: { onDelete: CASCADE, onUpdate: CASCADE, local: id_client, foreign: id, foreignAlias: eureka_gbAlbum }
eureka_gbPositon:
actAs: { Timestampable: ~ }
columns:
nom_position: { type: string(10), notnull: true, unique: true }
eureka_gbPhoto:
actAs: { Timestampable: ~ }
columns:
id_position: { type: integer, notnull: true}
id_album: { type: integer, notnull: true}
url_photo: { type: string(500), notnull: true}
relations:
eureka_gbPosition: { onDelete: CASCADE, onUpdate: CASCADE, local: id_position, foreign: id, foreignAlias: eureka_gbPhoto }
eureka_gbAlbum: { onDelete: CASCADE, onUpdate: CASCADE, local: id_album, foreign: id, foreignAlias: eureka_gbPhoto } |
ma base de données "eureka_gb" est créée mais aucune table n'y a été ajoutée. Comment puis-je générer les modèles ainsi que la base de données ?
Ce qui serait parfait, ce serait d'avoir un tutotiel comme celui-ci, mais pour windows et l'IDE netbeans. malheureusement je ne trouve pas :/
J'espère que c'est réalisable, il n'y a pas de raison je pense ^^
En tout cas j'attends vos conseils avec impatience !
merci :D