Had a little drawback developing dia2statemachine because JS weird way of being poo Object Oriented.
Just so people know, there are setters and getters in DECENT BROWSERS , but of course IE doesn´t use them! They can significantly simplify the code, but what the helll, let´s keep it compatible at this time…
I was having lot´s of [...]
Arquivo da categoria ‘js’
Simple getter and OO in Javascript
Publicado em Desenvolvimento, diagram-statemachine, js, etiquetado getter, js, oo, oop em 2009/10/22 | Deixar um comentário »
dev Dia -> ruby Statemachine part 1
Publicado em Desenvolvimento, diagram-statemachine, js, ruby em 2009/10/05 | Deixar um comentário »
Having so much fun right now! There´s been long before i had any fun on programming anything like I´m enjoying now the code is pretty nice so far!
Object Oriented JS
Prototype Lib
XML.ObjTree (JSAN) Lib
TDD ( i believe )
Aptana Studio
Some Snippets:
To get the XML into HTML I built a really small ruby script that [...]
Dia->Statemachine: The tools
Publicado em Desenvolvimento, diagram-statemachine, js, ruby em 2009/10/02 | Deixar um comentário »
First of all, download DIA! =D
Select UML for the sheet pallet. Only a reduced set of the tools will be interpretated, the X´s will be ignored.
These is the selection of tools available:
Ok! A quick note about the arrows, is that the 3 of those can be used under any TRANSITION circunstances (since all connect state [...]
Converting Dia diagram to Ruby StateMachine =)
Publicado em Desenvolvimento, diagram-statemachine, js, ruby em 2009/10/02 | Deixar um comentário »
Hello !!!
After a loooong while I decided to dev something just so I don´t get too rusty!
The concept is: Statemachine is a fine implementation of FSM for ruby (act_as_state_machine is also an option). The author wrote a nice guide for layperson (or forgetful like me ) BUT still something is missing! In all examples [...]
Satisfaction II – javascript field focus
Publicado em Desenvolvimento, Rails, js, etiquetado focus, form, js, rails em 2009/04/23 | Deixar um comentário »
I Happiness to share
You know when users gotta insert a lot of records into the DB, it is cool if the programmer always set the first field of a Form with focus! Or else they could get really annoyed..
First of all, this is a Rails solution but can be done in any [...]
How close a iframe in thickbox from within
Publicado em Desenvolvimento, js, etiquetado iframe, javascript, js, ThickBox em 2009/04/01 | 2 Comentários »
Probably this info is well known diffused on the web, but since i´m loving to use ThickBox..
You are using Thickbox to open a iFrame in your site, but don´t have control of it from inside the frame?! Let´s close it as if it were a Ajax box, but calling it from the parent [...]