[haXe] OSCON

hank williams hank777 at gmail.com
Tue Aug 1 01:46:39 CEST 2006


Thats a really interesting usability benefit that comes from the
purely dynamic world. Of course you can make everything dynamic but
that would be politically incorrect in the haXe world :). But its hard
to argue with the clear productivity people seem to be getting from
what almost sounds like a marriage between the database and the
programming language.

Hank

On 7/31/06, Yariv Sadan <yarivvv at gmail.com> wrote:
> One thing to know about Ruby's syntax is that, as opposed to haXe,
> Ruby is entirely dynamic. With Rails, you create basically emply
> classes for your objects, and the methods and properties of the
> classes are injected into them at runtime based on the database
> schema. For instance, let's say you have a 'people' table with an 'id'
> and a 'name' field. Then you would have a class 'Person' that looks
> like
>
> class Person < ActiveRecord::Base
> end
>
> In your code, you can write things such as
>
> p = Person.new
> p.name = "bob"
> p.save
>
> people = Person.find_by_name("bob")
>
> These tricks are possible because the compiler doesn't check the
> validity of the code in compile time. The same would be possible in
> haXe if everything were untyped, but that would be against the haXe
> "static whenever possible" philosophy.
>
> Yariv
>
> On 7/31/06, Roberto Saccon <rsaccon at gmail.com> wrote:
> > ruby is so simple, you don't have to learn it, you just start using it
> > and rails has helpers for Javascript, so you can write an ajaxified
> > web app without knowing anything about javascript. And they have a
> > great marketing talent as lead developer, those are the ingredients
> > for their success recipe !
> >
> > On 7/31/06, hank williams <hank777 at gmail.com> wrote:
> > > Thanks. So it sounds like (and I have heard elsewhere) that the
> > > database abtraction is pretty much the key to rails. So how would you
> > > compare ruby to haXe. Again, there seem to be a lot of people loving
> > > the ruby syntax. It seems (from what I've heard) a little odd in some
> > > of its syntax, but what do you think about the comparative benefits
> > > between haxe and ruby?
> > >
> > > Hank
> > >
> > > On 7/31/06, Yariv Sadan <yarivvv at gmail.com> wrote:
> > > > Rails is basically a server side MVC framework for building webapps
> > > > using the Ruby language. It has a very good database abstraction layer
> > > > -- ActiveRecord -- and many helpful libraries for form validation,
> > > > AJAX, unit testing, etc. Rails's greatness is that it tries -- and
> > > > largely succeeds -- at making web development highly productive. Other
> > > > frameworks (even Neko) do similar things as Rails, but Rails is just
> > > > very well packaged and it also has a very active community. If you
> > > > haven't used Rails, I recommend playing with it a bit just to get a
> > > > sense of what features it has as there's no reason they can't be
> > > > ported to other languages, esp haXe/Neko.
> > > >
> > > > Yariv
> > > >
> > > > >
> > > > > This is interesting. I dont know much about rails other than that it
> > > > > seems to be *very* productive. How does haXe and nekotools relate to
> > > > > haXe. My impression is rails has some very specific stuff that makes
> > > > > building apps a snap. I have had some of it described to me but since
> > > > > I have never tried I cant remember much about it. But it would be cool
> > > > > for haXe to out do ruby in terms of the things that the ruby folks
> > > > > think is so good and to have a server side frame work to out do rails.
> > > > >
> > > > > Hank
> > > > >
> > > > > --
> > > > > haXe - an open source web programming language
> > > > > http://haxe.org
> > > > >
> > > >
> > > > --
> > > > haXe - an open source web programming language
> > > > http://haxe.org
> > > >
> > >
> > > --
> > > haXe - an open source web programming language
> > > http://haxe.org
> > >
> >
> >
> > --
> > Roberto Saccon
> >
> > --
> > haXe - an open source web programming language
> > http://haxe.org
> >
>
> --
> haXe - an open source web programming language
> http://haxe.org
>



More information about the Haxe mailing list