22 Sep '12, 12pm

"dynamic MVC - Oak (Ruby on Rails Inspired)"

Blogs blogs = new Blogs(); //data access by convention Comments comments = new Comments(); //data access by convention dynamic blog = new Blog(); blog.Name = "Blog Name"; blog.Id = blogs.Insert(blog); //inserts into the database returns an Id var comment = blog.Comments().New(new { Body = "new comment" }); comments.Insert(comment); //inserts comment into database public class Blogs : DynamicRepository { public Blogs() { Projection = d => new Blog(d); } } public class Comments : DynamicRepository { } public class Blog : DynamicModel { //a blog has many comments IEnumerable<dynamic> Associates() { yield return HasMany(comments); } Comments comments = new Comments(); public Blog(object dto) : base(dto) { } public Blog() : base() { } }

Full article: http://amirrajan.github.com/Oak/

Tweets

"dynamic MVC - Oak (Ruby on Rails Inspired)"

asp.net 21 Sep '12, 4pm

Daily Community Spotlight RSS Feed View All ASP.NET Web API Released and a Preview of What’s Next Henrik F Nielsen blogs a...

Experienced Ruby on Rails developer required - ...

odesk.com 22 Sep '12, 1pm

Experienced Ruby on Rails developer required to work alongside existing freelance RoR developer to work on an ambitious st...

#webdevelopment Ruby on Rails, Programming - oD...

odesk.com 23 Sep '12, 3pm

is a Ruby on Rails application is a specialized type of project management system involving collaboration, asset managemen...

[37s] Seso Media Group: Ruby on Rails (RoR) Dev...

jobs.37signals.com 21 Sep '12, 9pm

At Seso, we build digital experiences that matter by curating complex data sets into compelling stories. Our human centric...

If you want to learn the basics of Ruby on Rail...

launchware.com 21 Sep '12, 8am

An Introduction to Ruby on Rails Presented at a Boston Ruby Group Project Night Sep 10th , 2012 | Comments I’ve recently b...

Django, Ruby on rails Job Trends When you are there check both absolute and relative trends. #onlyforusa

Django, Ruby on rails Job Trends When you are t...

indeed.com 22 Sep '12, 5am

Insert the code below into any webpage to include this graph: <div style="width:540px"> <a href="http://www.indeed.com/job...

Ruby Zone - Resources for Ruby and Rails develo...

ruby.dzone.com 21 Sep '12, 5pm

It’s a little-known fact that Phusion Passenger, the awesome Rack webserver module, can also competently talk WSGI as well...

20 twitter handles to follow for Ruby on Rails ...

yatishmehta.in 17 Sep '12, 5pm

20 Twitter handle you should follow if you are Ruby or Rubyonrails Developer @dhh David Heinemeier Hansson, the creator of...