Randy Schmidt on 18 Sep 2007 19:29:23 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PhillyOnRails] Ruby-Presenters and Non-ruby presenters?

  • From: "Randy Schmidt" <randy@umlatte.com>
  • To: talk@phillyonrails.org
  • Subject: Re: [PhillyOnRails] Ruby-Presenters and Non-ruby presenters?
  • Date: Tue, 18 Sep 2007 15:29:11 -0400
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=ar4RaAAKTnY6zWa2NhXKgdVMgw37EZBWTgu4BgoaIg0=; b=EqtmfZd2ggJO/j2sMyAvaIS2ZYk9zGIceZzgOvcf6FC2YU9epJrfJ4qEp+3NaIumaXZ+LVjYNGfUdZWsS2Q7mUM8jX3ifrejaVtgGexihF8urefn2y6ZXKJfYRtDDhGqasdPypYwF+BMC3JG7vlxg2RsFwwwTisZHNDQNl+II8A=
  • List-archive: <http://lists.phillyonrails.org/pipermail/talk>
  • Reply-to: talk@phillyonrails.org
  • Sender: talk-bounces@phillyonrails.org

Heh, I am working on a project where one of the developers wrote a
plugin...when it came time to integrate the plugin I noticed there was
a lisp file in there and panicked slightly... ended up being a joke.

That was a good story, huh? Want me to tell it again?

On 9/18/07, Michael Bevilacqua-Linn <michael.bevilacqualinn@gmail.com> wrote:
> Hmm,
>
> I was tossing around the idea of doing a Ruby metaprogramming
> presentation...
>
> (sneaking "Lisp somewhere in at the end.")
>
> MBL
>
> On 9/18/07, Mat Schaffer <schapht@gmail.com> wrote:
> > On Sep 18, 2007, at 11:59 AM, Colin A. Bartlett wrote:
> > > Randy Schmidt wrote:
> > >> I wanted to try to emphasize things that would hit
> > >> home with PHP developers...so if anybody has ideas, I'm all ears.
> > > Migrations
> > > RJS / other AJAX coolness
> >
> > +1 on the migrations.  They blew my PHP-programmer mind.
> >
> > It's not a framework thing, but one item I often bring up when making
> > the PHP/Ruby comparison is handling of static (or class) methods.
> > PHP makes it basically impossible to implement an interface as
> > seamless ActiveRecord.  I expect this would be a hard topic to broach
> > in a presentation, but consider it if you're hanging out after and
> > someone tries to tell you rails could be written in PHP.
> >
> > Example:
> >
> > ==Ruby==
> >
> > class Papa
> >    def self.foo
> >      "I'm a " + self.to_s
> >    end
> > end
> >
> > class Kiddo < Papa
> > end
> >
> > Kiddo.foo  # => I'm a Kiddo
> >
> > ==PHP==
> >
> > class Papa {
> >      public static function foo() {
> >          return "I'm a " . get_class();
> >      }
> > }
> >
> > class Kiddo extends Papa {
> > }
> >
> > Kiddo::foo();  # => I'm a Papa
> > _______________________________________________
> > To unsubscribe or change your settings, visit:
> >
> http://lists.phillyonrails.org/mailman/listinfo/talk
> >
>
>
> _______________________________________________
> To unsubscribe or change your settings, visit:
> http://lists.phillyonrails.org/mailman/listinfo/talk
>
>


-- 
Randy Schmidt
randy@umlatte.com
www.umlatte.com
267.334.6833
_______________________________________________
To unsubscribe or change your settings, visit:
http://lists.phillyonrails.org/mailman/listinfo/talk