I came up with this solution when I had to compile over 100 fonts into SWF files for a recent project. Doing this by hand would have been madness so I wrote a ruby script and a shell script to automate the process.
Step 1: Setup
The directory structure I used was as follows.
convert.rb (the ruby script)
compile.sh [...]
Also posted in ActionScript, Flex |
Frameworks like Ruby on Rails and CakePHP make it easy to set up model associations with belongs_to, has_many, and the ever popular has_and_belongs_to_many. However, getting those associations to show up in a Flex DataGridColumn’s dataField isn’t immediately obvious, you’d assume you could just do parent.child or child.parent but that just gives a blank column. After [...]
Google releases App Engine. It’s Python only for now, but there are rumors more languages (Ruby!) will soon be available.
Here’s a video intro. And Django runs out of the box (in the box?) – well some parts are missing like no relational db – still you can’t beat the one line deployment!
Docs! Running Django on [...]
The PureMVC framework is considered one of the best for Flash/Flex development (definitely the best documented), I hadn’t checked out the site in a while (which has undergone an overhaul and is much improved!) and since my last visit PureMVC is now available for not only AS2 and AS3 but C#, ColdFusion, Java, Perl, PHP, [...]
Also posted in ActionScript, Flash, Flex |
Via Flex on Rails…
Using HotRuby it is possible to use straight Ruby to build a Flash app.
Or even better write Flash/Flex Rich Internet Applications with Ruby? Ted Patrick says it may soon be possible.
When Microsoft released Silverlight the one feature that got a lot of people excited was that you could use the language you were most familiar with to build a RIA. Apparently Adobe has an internal project which allows [...]
HotGigs has a feature where they collect and aggregate the hourly bill rates of the consultants on their site. Here are the average hourly bill rates for Flex, Flash, and Ruby, surprisingly they have sub-categories for Flash all the way down to Flash Remoting but there’s just one category for Ruby with no Rails sub-category.
For [...]
A site to dull the pain Rubular. Via Ruby Inside.
Also posted in RegEx, Ruby on Rails |
I’m moving an old app to Rails 2.0 and other than fixing some routes Ajax calls with link_to_remote and the :with parameter was the only thing that gave me some trouble. In the old version I was grabbing the current value of a drop down list with Prototype and passing it along using :with like [...]
Damian pointed me to the patch ELC Technologies committed to Rails.
As he mentions previously you did something like
<% form_for(@client) do |f| %>
<%= render :partial => ‘form’, :locals => {:f => f} %>
<%= submit_tag ‘Create’ %>
<% end %>
but now you can just do…
<% form_for(@client) do |f| %>
[...]
Also posted in Ruby on Rails |