Archive for the ‘Ruby’ Category
Thursday, May 22nd, 2008
In the prior tutorial I hinted that I was working on compiling wxRuby with my own Pico Lisp lexer, I gave up on that after spending a few hours editing h-files and makefiles, only to discover that the Scintilla component would not work, possibly because of my changes, probably because of something else. ... Read More
Tags: Ruby, scintilla, wxruby
Posted in Ruby, WxRuby | No Comments »
Sunday, May 18th, 2008
This article might bore you, in that case you might want to skip to the end where a pretty useful “trick” for custom sorting the tree items is described. You might also want to check out the image related stuff, it is more complex than in the sample treectrl.rb... Read More
Tags: Ruby, scintilla, wxruby
Posted in Ruby, WxRuby | No Comments »
Sunday, May 18th, 2008
A lot has happened since the last part. As far as I’m concerned the framework is basically finished, what remains now is to create a few more lexers, for CSS, HTML and Javascript primarily. I’ve also tried to create my own integrated lexer (Pico instead of Common Lisp) in the Scintilla component, more on that as it develops…... Read More
Tags: Ruby, scintilla, wxruby
Posted in Ruby, WxRuby | No Comments »
Saturday, May 10th, 2008
These are the requirements for the autocompletion feature:... Read More
Tags: Ruby, scintilla, wxruby
Posted in Ruby, WxRuby | No Comments »
Wednesday, May 7th, 2008
Getting the Lispy indentation to work was easier said than done but I believe I have prevailed. I haven’t done any massive testing yet but so far I’m getting the behavior I want. A lot has changed in pico.rb, not so much in main.rb though, let’s walk through the new stuff, in main.rb:... Read More
Tags: Ruby, scintilla, wxruby
Posted in Ruby, WxRuby | No Comments »
Tuesday, May 6th, 2008
Tags: Ruby, scintilla, wxruby
Posted in Ruby, WxRuby | No Comments »
Tuesday, February 19th, 2008
This tutorial is an example of a typical registration form with Datamapper and Merb, we have:
– Unique username and email.
– Password confirm check.
– Terms and conditions agreement.
– And some more custom stuff implemented such as birthdate from year, month and day dropdowns.... Read More
Tags: datamapper, Merb, postgresql, registration form, Ruby, validation
Posted in Database, Merb, Ruby | 4 Comments »
Monday, January 14th, 2008
The process of setting up Merb and Datamapper can easily derail, these are my experiences of setting them up on Ubuntu with XAMPP.... Read More
Tags: datamapper, Linux, Merb, Ruby, ubuntu, xampp
Posted in Linux, Merb, Ruby | 7 Comments »
Tuesday, October 16th, 2007
Update: This application uses the old wxRuby, for a more up to date example see the editor in wxRuby series. However, the RubyScript2Exe parts should still apply as is since that logic is separate from the GUI logic.... Read More
Tags: desktop application, Ruby, rubyscript2exe, Smarty, wxruby, wxsugar, zend framework
Posted in Desktop, Ruby, WxRuby | No Comments »