Précédent   Forum des professionnels en informatique > PHP > Outils > Zend > Zend Framework
Zend Framework Forum d'entraide sur la programmation PHP avec Zend Framework. Avant de poster -> FAQ ZF, Cours ZF
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 05/07/2011, 17h39   #1
Membre régulier
 
Inscription : août 2008
Messages : 402
Détails du profil
Informations forums :
Inscription : août 2008
Messages : 402
Points : 77
Points : 77
Par défaut [debutant]Comment configurer correctement zend

Bonjour à tous, je debute avec zendframework et j'aurai quelque question de démarrage.

sur le site de téléchargement zend il y a plusieurs fichier, lequels prendre?

j'ai télécharger " ZendFramework-1.11.7" mais j'ai aussi vu qu'il y avait des packages ?? qu'est ce qu'il y a dedant ?

sur le tuto de démarrage, on dit qu'il faut modifier le php.ini,
problème ou il se situe ?? j'utilise wamp
j'ai vu qu'il y avait 2 php.ini mais avec comme suffixe

wamp/bin/php/php5.3.4/php.ini-development
wamp/bin/php/php5.3.4/php.ini-production

suis-je dans le bon dossier ?? pour modifier la directive PHP include_path ?

je vous remercie de vos aident
keokaz est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 05/07/2011, 17h50   #2
Modérateur
 
Inscription : septembre 2010
Messages : 7 103
Détails du profil
Informations forums :
Inscription : septembre 2010
Messages : 7 103
Points : 8 456
Points : 8 456
pourquoi tu veux modifier le include_path ?

tout est expliqué dans le quickstart :
http://framework.zend.com/manual/en/...art.intro.html
__________________
http://blog.stealth35.com/
stealth35 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 05/07/2011, 18h04   #3
Membre régulier
 
Inscription : août 2008
Messages : 402
Détails du profil
Informations forums :
Inscription : août 2008
Messages : 402
Points : 77
Points : 77
merci de ta réponse voici ce qui était écrit sur le bouquin

Code :
1
2
3
4
5
6
 
La configuration minimale du framework consiste à modifier la directive
PHP include_path. Cette directive détermine les chemins qu’il faut
emprunter pour inclure les fichiers dans PHP avec les appels include* et
require*.
Éditez le fichier php.ini et modifiez la directive include_path :
je vais jeter un oeil sur le lien que tu m'a donné

j'ai télécharger le dossier QuickStart , où je doit mettre ces fichiers ? dans le répertoire lib ?
keokaz est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 05/07/2011, 18h09   #4
Modérateur
 
Inscription : septembre 2010
Messages : 7 103
Détails du profil
Informations forums :
Inscription : septembre 2010
Messages : 7 103
Points : 8 456
Points : 8 456
ton livre est sans doute obsolète, si tu veux suivre le livre pas a pas utilise la même version qu'il indique
__________________
http://blog.stealth35.com/
stealth35 est déconnecté   Envoyer un message privé Réponse avec citation 10
Vieux 05/07/2011, 18h19   #5
Membre régulier
 
Inscription : août 2008
Messages : 402
Détails du profil
Informations forums :
Inscription : août 2008
Messages : 402
Points : 77
Points : 77
j'ai jeter un oeil c'est la version

Zend Framework en version 1.6.2

elle est peut être trop vielle ?

il y a t'il un gros changement entre la version 1.11 à 1.6 pour apprendre ?
keokaz est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 05/07/2011, 18h22   #6
Modérateur
 
Inscription : septembre 2010
Messages : 7 103
Détails du profil
Informations forums :
Inscription : septembre 2010
Messages : 7 103
Points : 8 456
Points : 8 456
Citation:
Envoyé par keokaz Voir le message
j'ai jeter un oeil c'est la version

Zend Framework en version 1.6.2

elle est peut être trop vielle ?

il y a t'il un gros changement entre la version 1.11 à 1.6 pour apprendre ?
oula oui, c'est un dinosaure cette version, garde ton livre juste pour le prochain hiver
__________________
http://blog.stealth35.com/
stealth35 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 05/07/2011, 21h07   #7
Membre régulier
 
Inscription : août 2008
Messages : 402
Détails du profil
Informations forums :
Inscription : août 2008
Messages : 402
Points : 77
Points : 77
je vais donc essayer de lire d'autre tuto

meci de tes réponses
keokaz est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 06/07/2011, 05h42   #8
Membre régulier
 
Inscription : août 2008
Messages : 402
Détails du profil
Informations forums :
Inscription : août 2008
Messages : 402
Points : 77
Points : 77
j'ai suivi le tuto sur developpez mais je coince sur cette étapes
Débuter avec Zend Framework 1.10 (approche MVC)

Code :
1
2
3
4
 
Modifiez votre profil bash pour ajouter un alias :
 
    Depuis le Terminal, tapez : open ~/.bash_profile
si je tape avec la console sous ubuntu

Code :
1
2
 
 open ~/.bash_profile
j'ai cette erreur
Code :
1
2
3
 
 
ls: impossible d'accéder à /home/proj/.bash_profile: Aucun fichier ou dossier de ce type
coment faut t'il que je crée ce fichier ?
keokaz est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 06/07/2011, 10h17   #9
Modérateur
 
Inscription : septembre 2010
Messages : 7 103
Détails du profil
Informations forums :
Inscription : septembre 2010
Messages : 7 103
Points : 8 456
Points : 8 456
je te conseil d'installer le package php-pear, et ensuite d'installer le zend framework via pear
__________________
http://blog.stealth35.com/
stealth35 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 06/07/2011, 13h23   #10
Membre régulier
 
Inscription : août 2008
Messages : 402
Détails du profil
Informations forums :
Inscription : août 2008
Messages : 402
Points : 77
Points : 77
merci mais je ne sais même si j'installe pear je vais y arriver

j'ai essayer de trouver la solution la plus adapté, j'ai donc tapéz

Code :
1
2
 
sudo apt-get install zend-framework-bin
lorsque je tape "zf" j'ai un message d'erreur en rouge

Code :
1
2
3
 
                          An Error Has Occurred                         
 Action 't' is not a valid action.
puis j'ai ceci

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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
 
Zend Framework Command Line Console Tool v1.11.5
Usage:
    zf [--global-opts] action-name [--action-opts] provider-name [--provider-opts] [provider parameters ...]
    Note: You may use "?" in any place of the above usage string to ask for more specific help information.
    Example: "zf ? version" will list all available actions for the version provider.
 
Providers and their actions:
  Version
    zf show version mode[=mini] name-included[=1]
    Note: There are specialties, use zf show version.? to get specific help on them.
 
  Config
    zf create config
    zf show config
    zf enable config
    Note: There are specialties, use zf enable config.? to get specific help on them.
    zf disable config
    Note: There are specialties, use zf disable config.? to get specific help on them.
 
  Phpinfo
    zf show phpinfo
 
  Manifest
    zf show manifest
 
  Profile
    zf show profile
 
  Project
    zf create project path name-of-profile file-of-profile
    zf show project
    Note: There are specialties, use zf show project.? to get specific help on them.
 
  Application
    zf change application.class-name-prefix class-name-prefix
Zend Framework Command Line Console Tool v1.11.5
Usage:
    zf [--global-opts] action-name [--action-opts] provider-name [--provider-opts] [provider parameters ...]
    Note: You may use "?" in any place of the above usage string to ask for more specific help information.
    Example: "zf ? version" will list all available actions for the version provider.
 
Providers and their actions:
  Version
    zf show version mode[=mini] name-included[=1]
    Note: There are specialties, use zf show version.? to get specific help on them.
 
  Config
    zf create config
    zf show config
    zf enable config
    Note: There are specialties, use zf enable config.? to get specific help on them.
    zf disable config
    Note: There are specialties, use zf disable config.? to get specific help on them.
 
  Phpinfo
    zf show phpinfo
 
  Manifest
    zf show manifest
 
  Profile
    zf show profile
 
  Project
    zf create project path name-of-profile file-of-profile
    zf show project
    Note: There are specialties, use zf show project.? to get specific help on them.
 
  Application
    zf change application.class-name-prefix class-name-prefix
 
  Model
    zf create model name module
 
  View
    zf create view controller-name action-name-or-simple-name
 
  Controller
    zf create controller name index-action-included[=1] module
 
  Action
    zf create action name controller-name[=Index] view-included[=1] module
 
  Module
    zf create module name
 
  Form
    zf enable form module
    zf create form name module
 
  Layout
    zf enable layout
    zf disable layout
 
  DbAdapter
    zf configure db-adapter dsn section-name[=production]
 
  DbTable
    zf create db-table name actual-table-name module force-overwrite
    Note: There are specialties, use zf create db-table.? to get specific help on them.
 
  ProjectProvider
    zf create project-provider name actions
 
 
 
  Model
    zf create model name module
 
  View
    zf create view controller-name action-name-or-simple-name
 
  Controller
    zf create controller name index-action-included[=1] module
 
  Action
    zf create action name controller-name[=Index] view-included[=1] module
 
  Module
    zf create module name
 
  Form
    zf enable form module
    zf create form name module
 
  Layout
    zf enable layout
    zf disable layout
 
  DbAdapter
    zf configure db-adapter dsn section-name[=production]
 
  DbTable
    zf create db-table name actual-table-name module force-overwrite
    Note: There are specialties, use zf create db-table.? to get specific help on them.
 
  ProjectProvider
    zf create project-provider name actions
comment je peux savoir a quel adresse ip on peux charger zend?

c'est résolut en fait il faut bien installer php cli et crée un nouveau projet
keokaz est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité Cette discussion est résolue.
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 03h15.


 
 
 
 
Partenaires

Hébergement Web