This project is gonna be halted for now due to a change on my priorities.
The functional code already produces will be public for whoever wish to continue.
I would gladly resume this work in the future if possible.
DOWNLOAD: d2s 2009-10-26 version
Arquivo da categoria ‘Desenvolvimento’
Dia -> Statemachine project HALT
Publicado em Desenvolvimento, diagram-statemachine em 2009/10/26 | Deixar um comentário »
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 »
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 [...]
A little delay d2s
Publicado em Desenvolvimento, pessoal em 2009/10/15 | Deixar um comentário »
I had a visit some very special friends so I had a great break for a week =)
So.. now I have to finish up Aikido Londrina´s report and student system, another week or so and I´ll be back to my Lab =)
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 [...]
Contagem de posts por mês, ou alfabeticamente em mySQL
Publicado em Desenvolvimento, sql, etiquetado blog, mysql, sql em 2009/07/23 | 2 Comentários »
Para que situação isso se aplica??
Sistema de blog ou artigos, ou essencialmente qualquer tela semelhante a tela abaixo!
Sem muitas delongas o caminho do pote de ouro:
MES|ANO |TOTAL = “SELECT MONTH(created_at) as mes, YEAR(created_at) as ano, COUNT(*) as total
FROM artigos
GROUP BY MONTH(created_at), YEAR(created_at)
ORDER BY created_at ASC”
LETRA| TOTAL = “SELECT left(titulo, 1) as letra, COUNT(*) as total
FROM [...]
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 [...]
Ruby script to remove svn folders
Publicado em Desenvolvimento, ruby, etiquetado ruby, script, svn em 2009/03/19 | 3 Comentários »
This code is so useful and pretty easy too when we want to remove recursively recursive the .svn folders from a project we want to send.
The credit of the original code is @HelgeG guy
This was only enhanced to make a warning first and count the kills, still under testing.
require ‘find’
require ‘fileutils’
puts "\n\t\t\t! WARNING !\n\nYou are [...]