| |||||
| Auteur | Sujet : PHP objet alloudi les pages ? |
|---|---|
nargy | Reprise du message précédent : |
Publicité | Posté le 13-03-2006 à 19:49:18 ![]() ![]() |
masklinn í dag viðrar vel til loftárása |
--------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
Djebel1 Nul professionnel | ha oui j'aurais pu le dire comme ça aussi ^^ |
Berceker United PSN : berceker_united |
|
souk Tourist |
ah ? |
kadreg profil: Utilisateur |
--------------- brisez les rêves des gens, il en restera toujours quelque chose... -- laissez moi troller sur discu ! |
Berceker United PSN : berceker_united |
|
Berceker United PSN : berceker_united |
|
Publicité | Posté le 14-03-2006 à 11:03:31 ![]() ![]() |
smaragdus whores, drugs & J.S. Bach |
Message cité 1 fois Message édité par smaragdus le 14-03-2006 à 11:57:24 |
omega2 |
Même si ca se voit pas, il me semble qu'en php aussi tous les objets ont quelques comportements comuns tels que la sérialisation.
Faire un objet par vue en considérant qu'une page est une vue, c'est une chôse.
|
anapajari s/travail/glanding on hfr/gs; |
|
smaragdus whores, drugs & J.S. Bach |
Message cité 2 fois Message édité par smaragdus le 14-03-2006 à 12:25:54 |
masklinn í dag viðrar vel til loftárása |
--------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
smaragdus whores, drugs & J.S. Bach |
Message cité 1 fois Message édité par smaragdus le 14-03-2006 à 12:32:27 |
masklinn í dag viðrar vel til loftárása |
Message cité 1 fois Message édité par masklinn le 14-03-2006 à 12:32:31 --------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
smaragdus whores, drugs & J.S. Bach |
Message cité 1 fois Message édité par smaragdus le 14-03-2006 à 12:38:35 |
masklinn í dag viðrar vel til loftárása |
--------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
smaragdus whores, drugs & J.S. Bach |
Message cité 1 fois Message édité par smaragdus le 14-03-2006 à 13:04:06 |
Djebel1 Nul professionnel | enfin bon, concevoir les objets de sa logique métier en fonction des pages affichées, je vois pas l'intérêt.
|
masklinn í dag viðrar vel til loftárása |
--------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
smaragdus whores, drugs & J.S. Bach |
Message édité par smaragdus le 14-03-2006 à 13:06:17 |
smaragdus whores, drugs & J.S. Bach |
Message édité par smaragdus le 14-03-2006 à 13:06:06 |
push /dev/random |
|
Berceker United PSN : berceker_united | Si tu instancier un class enfant le parent est là quand même et tu bénificies toujours de ses methodes et propriétés donc non c'est pas la peine.
Message cité 1 fois Message édité par Berceker United le 17-03-2006 à 11:28:01 |
anapajari s/travail/glanding on hfr/gs; |
|
masklinn í dag viðrar vel til loftárása | Ca irait très bien dans une propriété (tu stockes le prix HT non?), mais pas dans une variable membre (ou alors il faut la mettre à jour à chaque maj du prix HT, c'est lourd). Et vu comment les propriétés fonctionnent en PHP, je dirais de passer par des getter/setter --------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
jamesbond2 | Qu'entends-tu par propriété ?
|
masklinn í dag viðrar vel til loftárása |
Message édité par masklinn le 21-03-2006 à 15:05:50 --------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
Berceker United PSN : berceker_united | heu c'est comme les accesseur en vb, non ? je vois pas en quoi c'est mal fait en php à la différence c'est qu'avec ce derniere nous savons de suite que c'est une fonction pas possible de le déguiser en variable "screde" |
masklinn í dag viðrar vel til loftárása |
Message édité par masklinn le 21-03-2006 à 15:32:42 --------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
Berceker United PSN : berceker_united | Mais je ne remet pas en cause ce que tu dis et je m'en rend bien compte actuellement car je fais du c# et je me suis heurter à ce probleme le faite de passer par des accesseurs à chaque fois et qui fait qu'il y avait une certaine régidité. En java je savais que c'étais pas possible mais je ne pensais pas que ces tocards de chez m$ reprendrais la même chose.
|
omega2 | Je m'étais toujours demandé pourquoi en delphi je voyais souvent des "pseudo variables" qui ne servaient qu'a appeller une fonction quand on lui affecte une valeur et à en appeller une autre quand on lui demande sa valeur.
|
masklinn í dag viðrar vel til loftárása |
--------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
omega2 | en delphi, tu définis tes deux fonctions et ensuite tu crés une propriété grace à la syntaxe :
Message édité par omega2 le 21-03-2006 à 16:46:17 |
masklinn í dag viðrar vel til loftárása | ok --------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
Publicité | Posté le ![]() ![]() |

| Sujets relatifs | |
|---|---|
| [PHP/MySql] Probleme avec la connexion a une base de donnée Mysql | bbcode insertion image (javascript et PHP) |
| Petite question PHP/SQL | Ecrire dans un .sh a partir de Php |
| Script page administration et authentification Php | [PHP] Problème de connexion avec LDAP |
| PHP : problème d'envoi de mail + piece jointe sur Wanadoo | ASP - HTML récupéré data HTML dans pages .ASP |
| paramètre de serveur PHP | [PHP] Mise en place d'un WEBFTP |
| Plus de sujets relatifs à : PHP objet alloudi les pages ? | |





