Difference between revisions of "EWT Class13"

esse quam videri
Jump to: navigation, search
(NEW Rails)
Line 32: Line 32:
 
http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial
 
http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial
  
 
+
<code>
 +
rails Blog
 +
ruby generate scaffold Post title:string body:text
 +
    edit posts
 +
        validates_presence_of :title
 +
rake db:migrate
 +
script\server start
 +
ruby script\generate scaffold Comment post_id:integer body:text
 +
rake db:migrate
 +
    edit routs.rb
 +
        map.root :controller => 'posts'
 +
        map.resources :posts, :has_many => :comments
 +
</code>
  
 
==AJ sabotages the wiki==
 
==AJ sabotages the wiki==

Revision as of 17:46, 29 April 2008

ASP.NET

C# 1999 ECMA standard from MS or Mono

Not specific to C# the framework can use any .net language

more .net languages

ASP.NET MVC Framework

Editor Visual studio

Mono

Mono home page

Getting mono http://www.mono-project.com/Obtaining_Mono

NEW Rails

whats up with rake?

rake tutorial http://www.railsenvy.com/2007/6/11/ruby-on-rails-rake-tutorial

http://www.akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial

rails Blog ruby generate scaffold Post title:string body:text

   edit posts
       validates_presence_of :title

rake db:migrate script\server start ruby script\generate scaffold Comment post_id:integer body:text rake db:migrate

   edit routs.rb
       map.root :controller => 'posts'
       map.resources :posts, :has_many => :comments

AJ sabotages the wiki

but only because you can run Java in JavaScript now.

In related news, you can do the same with Ruby.