| |||||
| Auteur | Sujet : blabla@web |
|---|---|
ratibus | Reprise du message précédent :
|
Publicité | Posté le 23-07-2013 à 10:25:24 ![]() ![]() |
Profil supprimé | Posté le 23-07-2013 à 10:43:17 ![]()
|
Volkhen |
--------------- Main/Alt1/Alt2/Alt3 |
masklinn í dag viðrar vel til loftárása |
Message cité 2 fois Message édité par masklinn le 23-07-2013 à 11:20:57 --------------- 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? |
skylight Made in France. |
|
mechkurt | Personnellement je serais incapable de faire certaine requêtes SQL en passant par une surcouche, je pourrais sans doute apprendre mais ça me semble quand même plus simple d'écrire directement du SQL que d'apprendre à expliquer à un PDO PHP ce que je veux qu'il demande à MySQL --------------- D3 |
masklinn í dag viðrar vel til loftárása |
Tu réalises que PDO c'est juste une API générique pour requêter toutes les DBs sans avoir à se taper une API spécifique pour chaque? Et tu gagnes en bonus des bindparams nommés (pas juste numériques)? Pour "expliquer à PDO ce qur tu veux qu'il demande à MySQL", bah tu crées ta connection en lui filant le dsn, puis tu fais tes requêtes normalement. Et c'est pareil avec postgres, mssql, oracle, sqlite, informix ou autres. Message édité par masklinn le 23-07-2013 à 11:29:47 --------------- 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? |
skylight Made in France. |
|
pop-pan yay! |
Message cité 2 fois Message édité par pop-pan le 23-07-2013 à 11:52:23 --------------- Plop ! |
Publicité | Posté le 23-07-2013 à 11:48:13 ![]() ![]() |
Volkhen |
--------------- Main/Alt1/Alt2/Alt3 |
Volkhen |
Message édité par Volkhen le 23-07-2013 à 12:12:42 --------------- Main/Alt1/Alt2/Alt3 |
masklinn í dag viðrar vel til loftárása |
Et franchement dans un process web c'est vraiment le truc le plus con du monde: tu ouvres une transaction avant de commencer ton processing, tu la commit à la fin si pas d'erreur, tu rollback si erreur. Tu peux ajouter des custos configurés (genre pour pas ouvrir de transaction quand t'as pas besoin d'une connection DB), mais c'est vraiment pas sorcier et t'as aucune raison de ne pas savoir si une transaction est en cours ou non (bon après dans DBAPI, sauf si t'es en autocommit une transaction est automatiquement ouverte à la première requête) Message cité 3 fois Message édité par masklinn le 23-07-2013 à 12:19:56 --------------- 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? |
pop-pan yay! | ah oui tiens, autant pour moi.
Message édité par pop-pan le 23-07-2013 à 12:37:01 --------------- Plop ! |
skylight Made in France. |
|
0x90 → |
--------------- Me: Django Localization, Yogo Puzzle, Chrome Grapher, C++ Signals, Brainf*ck. |
masklinn í dag viðrar vel til loftárása |
Je vois pas ce qu'avoir besoin d'un contexte d'exécution a de non-composable, bien au contraire même (ça permet d'exécuter la fonction en dehors d'un mode transactionnel classique avec une db mockée par exemple, si la fonction commence à bricoler les transaction de son côté c'est plus possible). L'état transactionnel, c'est du cross-cut, ça n'a rien à foutre dans les fonctions de processing imo. À ma connaissance tous les fw python un peu sérieux fonctionnent de cette manière, avec des hooks pour des sous-transactions si besoin: https://docs.djangoproject.com/en/d [...] p-requests http://docs.sqlalchemy.org/en/rel_ [...] -questions (seconde moitié de la 2e question) Message cité 1 fois Message édité par masklinn le 23-07-2013 à 12:57: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? |
Volkhen |
Message cité 1 fois Message édité par Volkhen le 23-07-2013 à 14:05:36 --------------- Main/Alt1/Alt2/Alt3 |
masklinn í dag viðrar vel til loftárása |
Message cité 2 fois Message édité par masklinn le 23-07-2013 à 14:15:40 --------------- 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? |
Volkhen |
--------------- Main/Alt1/Alt2/Alt3 |
Schimz Bouge pas, meurs, ressuscite ! | J'ai modernisé mon bac à sable. Passage HTML5 et giclage de la compatibilité IE. Ça change la vie --------------- çà s'est HFR | Music for the Galaxy |
0x90 → |
--------------- Me: Django Localization, Yogo Puzzle, Chrome Grapher, C++ Signals, Brainf*ck. |
masklinn í dag viðrar vel til loftárása | Votre RTE préféré, en inline & contenteditable (pas d'iframe)? Message cité 1 fois Message édité par masklinn le 23-07-2013 à 16:02:06 --------------- 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? |
skylight Made in France. | Sceditor, tout simple, personnalisable, standard. Message cité 1 fois Message édité par skylight le 23-07-2013 à 15:44:49 |
masklinn í dag viðrar vel til loftárása |
Message édité par masklinn le 23-07-2013 à 16:02:13 --------------- 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? |
mechkurt |
--------------- D3 |
0x90 → |
Message cité 1 fois Message édité par 0x90 le 23-07-2013 à 16:25:30 --------------- Me: Django Localization, Yogo Puzzle, Chrome Grapher, C++ Signals, Brainf*ck. |
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? |
ratibus |
|
masklinn í dag viðrar vel til loftárása |
Message cité 2 fois Message édité par masklinn le 23-07-2013 à 17:19:20 --------------- 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? |
Taiche (╯°□°)╯︵ ┻━┻ |
--------------- Everyone thinks of changing the world, but no one thinks of changing himself | It is the peculiar quality of a fool to perceive the faults of others and to forget his own | Early clumsiness is not a verdict, it’s an essential ingredient. |
Taiche (╯°□°)╯︵ ┻━┻ |
--------------- Everyone thinks of changing the world, but no one thinks of changing himself | It is the peculiar quality of a fool to perceive the faults of others and to forget his own | Early clumsiness is not a verdict, it’s an essential ingredient. |
koskoz They see me trollin they hatin | Impossible de valider un choice field rempli en AJAX avec Symfony2 --------------- |
ratibus |
|
Shinuza This is unexecpected |
C'est à dire? Ça fait quoi? --------------- Mains power can kill, and it will hurt the entire time you’re dying from it. |
koskoz They see me trollin they hatin |
--------------- |
LeRiton | Je développe un bout d'appli@home, elle envoi des mails qui sont détectés comme spam par le SMTP de Free.
|
masklinn í dag viðrar vel til loftárása |
Ta fonction qui fait le boulot, elle a sûrement pas à décider de committer son bordel, parce que l'appelant peut très bien vouloir un grain plus épais, ou autre. Message édité par masklinn le 23-07-2013 à 19:30:26 --------------- 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? |
skylight Made in France. |
|
Youmoussa Ecrou-vis |
mailchimp/sendgrid? Message cité 1 fois Message édité par Youmoussa le 23-07-2013 à 20:54:11 --------------- L'humain est celui « qui agit puis qui pense : ce n’est pas parce qu’il soutient telle position qu’il agit de telle manière, mais parce qu’il a agi (comme il a été amené à le faire) qu’il va adopter telle position |
Publicité | Posté le ![]() ![]() |






