| |||||
| Auteur | Sujet : blabla@web |
|---|---|
nraynaud lol | Reprise du message précédent : --------------- trainoo.com, c'est fini |
Publicité | Posté le 22-01-2008 à 21:54:34 ![]() ![]() |
koskoz They see me trollin they hatin | Je fais comment en CSS pour faire descendre une colonne au même niveau qu'une autre ?
--------------- |
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 |
--------------- Mon blog |
LePhasme Les Belges domineront le monde | Hello, vous avez des adresse de bon sites proposant des kits de design gratuit ou payant. |
Shinuza This is unexecpected | Genre http://www.kits-gratuits.net/site/ --------------- Mains power can kill, and it will hurt the entire time you’re dying from it. |
uriel blood pt.2 |
LePhasme Les Belges domineront le monde | Oui ou oswd.org Message édité par LePhasme le 23-01-2008 à 10:09:40 |
skeye |
--------------- Can't buy what I want because it's free - |
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. |
Publicité | Posté le 23-01-2008 à 10:26:46 ![]() ![]() |
LePhasme Les Belges domineront le monde | http://www.kitgraphique.net en payant (pas cher) |
skeye | Je comprends pas vraiment la question non plus. --------------- Can't buy what I want because it's free - |
masklinn í dag viðrar vel til loftárása |
Au final, je dirais que si tes méthodes de validation sont relativement standard (required, une certaine longueur mini, etc...) et que tu peux créer des "classes de validation" immutables et standard pour tous les champs les classes c'est bien, si t'as besoin de validateurs très customisés (genre pouvoir valider contre une regexp fournie en même temps que le champ) les attributs sont largement supérieurs. edit: après, il y a aussi le passage à la vitesse supérieure de faire des appels XMLHttpRequest, et le serveur renvoie le résultat de la validation. Comme ça, il est possible de valider chaque champ en direct, par contre ça tape plus violement sur le serveur si on utilise pas un truc genre Comet. Message cité 1 fois Message édité par masklinn le 23-01-2008 à 11:52: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? |
omega2 | Masklinn > Et générer (dynamiquement si besoin) un bout de javascript (inclus à la page) qui permet d'indiquer les tests à faire au moment de valider, c'est pas suffisant? Ca évite de casser la validation w3c, de se baser sur des nom de classe quand on a besoin de validation par regexp ou de rajouter des inputs bidon. Message cité 1 fois Message édité par omega2 le 23-01-2008 à 11:56:42 |
masklinn í dag viðrar vel til loftárása |
Si c'est le cas 1, ça veut dire qu'il faut se taper l'écriture de routines javascript custom pour toutes les pages contenant des éléments de formulaires ( Message édité par masklinn le 23-01-2008 à 12:07:51 --------------- 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. |
masklinn í dag viðrar vel til loftárása |
Message cité 1 fois Message édité par masklinn le 23-01-2008 à 12:21:21 --------------- 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 |
Si une ligne de js par élément à tester = gros pâté, alors oui. |
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 |
--------------- Mon blog |
omega2 | On peut récupérer facilement les commentaires html en javascript par DOM ou alors t'analyses le code html de la page? |
Shinuza This is unexecpected |
--------------- Mains power can kill, and it will hurt the entire time you’re dying from it. |
ratibus |
--------------- Mon blog |
Shinuza This is unexecpected |
--------------- Mains power can kill, and it will hurt the entire time you’re dying from it. |
masklinn í dag viðrar vel til loftárása |
Mais c'est vachement plus chiant à parser, faut extraire les données à la main et faut jouer avec previousSibling et nextSibling dans le dom pour savoir à quoi ça correspond edit: ohshit, i:toto ça veut dire que ça valide le truc d'id toto, j'avais pas vu C'est complètement beurk (et ça force à avoir un id spécialement pour la validation, avec classes ou attributs custom pas besoin (et avec classe ou attributs custom, on peut utiliser les sélecteurs xpath ou getElementsByClassName modernes pour fetcher tous les trucs à valider rapidement Message cité 1 fois Message édité par masklinn le 23-01-2008 à 15:03: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? |
0x90 → |
Tu énumère le commentaires, et avec le i:toto tu ajoute les propriétés contenues dedans au dom node correspondant à l'id spécifié, pas besoin de siblinger de partout. Et sinon, vous gérez comment la cohérence entre les vérifs coté client et coté serveur ? edit (post-ton-edit): Message cité 1 fois Message édité par 0x90 le 23-01-2008 à 15:06:10 --------------- Me: Django Localization, Yogo Puzzle, Chrome Grapher, C++ Signals, Brainf*ck. |
masklinn í dag viðrar vel til loftárása |
Sinon, le seul moyen que je vois c'est que la validation client soit faite en XHR et tape dans la validation serveur. Message édité par masklinn le 23-01-2008 à 15:22:02 --------------- 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? |
0x90 → | Btw. le principe de l'utilisation des id pour les label/input c'est absolument merdique niveau composabilité du code --------------- Me: Django Localization, Yogo Puzzle, Chrome Grapher, C++ Signals, Brainf*ck. |
ratibus |
Je peux associer autant de validator que je veux sur un champ donc c'est super pratique. Message cité 3 fois Message édité par ratibus le 23-01-2008 à 16:00:25 --------------- Mon blog |
masklinn í dag viðrar vel til loftárása |
Message cité 1 fois Message édité par masklinn le 23-01-2008 à 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? |
ratibus |
--------------- Mon blog |
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? |
Shinuza This is unexecpected |
Ouch, le nombre d'arguments, j'imagine que y'a rien d'optionel la dedans --------------- Mains power can kill, and it will hurt the entire time you’re dying from it. |
0x90 → |
--------------- Me: Django Localization, Yogo Puzzle, Chrome Grapher, C++ Signals, Brainf*ck. |
Publicité | Posté le ![]() ![]() |






