• What are you working on? v7
    7,420 replies, posted
  • I see this thread turning into a Ruby development discussion thread in the near future
  • [URL="http://www.bitbyte.ca"][IMG]http://localhostr.com/files/pNtrL1M/bitbyte_studios.png[/IMG][/URL] My first real design -> working site. Suggestions?
  • [QUOTE=ManningQB18;35029411]Can I have that background image? It looks really nice.[/QUOTE] [img]http://puu.sh/jMU2[/img]
  • [QUOTE=TerabyteS_;35032497]I see this thread turning into a Ruby development discussion thread in the near future[/QUOTE] Yeah, only because the Ruby fanatics would have driven everyone else out.
  • Making a site for a local bed and breakfast. Anyone got any suggestions on what font to use? [IMG]http://i42.tinypic.com/21cci6b.jpg[/IMG]
  • Try blurring the background photo a bit. It's a little busy in the middle and that makes it hard to read the text. You could try changing the white background for the sidebar instead of using a line to separate it, and add more padding to it.
  • [QUOTE=TerabyteS_;35038486][img]http://gabrielecirulli.com/p/20120307-204628.png[/img] ITALIAN GIBBERISH[/QUOTE] I can't tell if that's Italian or Lorem Ipsum.
  • [QUOTE=TerabyteS_;35038486][img]http://gabrielecirulli.com/p/20120307-204628.png[/img] ITALIAN GIBBERISH[/QUOTE] Ditch the nav swiggles. me no like
  • [THUMB]http://i41.tinypic.com/30w5qus.jpg[/THUMB] Better? put it online aswel: [URL]http://hrvoje.microskip.com/bb/[/URL]
  • [url=http://itsbth.github.com/CoBot/][img]http://img.itsbth.com/2012-03/Robot_localization_-_Google_Chrome-2012-03-07_23.57.51.png[/img][/url] Particle filter localization. Written in CoffeeScript, and it's not exactly the cleanest code I've ever written, but it seems to work fairly well. It's also interesting to toy with the number of landmarks and particles.
  • [QUOTE=TerabyteS_;35038486][img]http://gabrielecirulli.com/p/20120307-204628.png[/img] ITALIAN GIBBERISH[/QUOTE] TONIIIIIGHT WE RAISE THE DEAD good job gab i like it actually now that i think about it the navigation being on the right seems kinda weird but who knows with you funky italian folk
  • [IMG]http://i.imgur.com/EeUzR.png[/IMG] Making a package for form validation in which you can easily create a basic form and when you plug it in it and use it, you can validate your fields with javascript calls, ajax javascript calls, and also server side (just in case someone hax your javascript)
  • [QUOTE=swift and shift;35046787]you really have no clue do you[/QUOTE] I have some errors in that code. The classes obviously aren't finished yet.
  • [QUOTE=-Kesil-;35046852]I have some errors in that code. The classes obviously aren't finished yet.[/QUOTE] you have 13 significant lines of code there [editline]8th March 2012[/editline] how the hell do you fuck up 13 lines
  • [QUOTE=-Kesil-;35046695][IMG]http://i.imgur.com/EeUzR.png[/IMG] Making a package for form validation in which you can easily create a basic form and when you plug it in it and use it, you can validate your fields with javascript calls, ajax javascript calls, and also server side (just in case someone hax your javascript)[/QUOTE] why so many classes
  • main goal was to dodge classifying how to validate an input twice. The main issue was the flexibility of the HTML. One can uses multiple classes="" to define how an input field needs to be validated by javascript. Once they send it over to the server, they'll have to classify it again. [editline]8th March 2012[/editline] [QUOTE=jung3o;35046950]why so many classes[/QUOTE] So that a validationSet (multiple rules) could be used over and over (by different fields). A field as well (by different forms) A rule as well (by different validationSets)
  • [QUOTE=-Kesil-;35047138] So that a validationSet (multiple rules) could be used over and over (by different fields). A field as well (by different forms) A rule as well (by different validationSets)[/QUOTE] like Swift and shift said, you clearly have no idea what you are doing. they can be in a function to be used more than once.
  • [QUOTE=jung3o;35047205]like Swift and shift said, you clearly have no idea what you are doing. they can be in a function to be used more than once.[/QUOTE] Erhm yes. But a rule isn't just a function. It's a collection of functions. 1 function to be printed to the client side, another to be used for the server side.
  • [QUOTE=-Kesil-;35047247]Erhm yes. But a rule isn't just a function. It's a collection of functions. 1 function to be printed to the client side, another to be used for the server side.[/QUOTE] while it's a great idea and all, this code: [img]http://i.imgur.com/EeUzR.png[/img] is shit
  • [QUOTE=-Kesil-;35046695][IMG]http://i.imgur.com/EeUzR.png[/IMG] Making a package for form validation in which you can easily create a basic form and when you plug it in it and use it, you can validate your fields with javascript calls, ajax javascript calls, and also server side (just in case someone hax your javascript)[/QUOTE] What the hell does the addRule() function do? I'll tell you what it does - shit all. You are accessing a variable in the wrong scope so it won't be there the next time the function is called (should be $this->$rules ). Currently the addRule function may as well be blank because it doesn't do anything at all. Don't run before you can walk - perhaps try some simpler function based implementation first and then when you are better at oop and the fundamentals behind it you can try an oop approach. Currently it is very clear that you have very little / no OOP experience as your approach is all wrong and you don't seem to know much about variable scopes. [editline]8th March 2012[/editline] [quote] function addRule() { $_rule ) { $rule[$rules] = $_rule; $rules += 1; } [/quote] $rule is not defined. $rules is not defined. After the function has terminated both will cease to exist.
  • [QUOTE=commander204;35048412]You are really showing the great side of Web Dev WAYWO! So welcoming.[/QUOTE] keysle is the village idiot