Ticket #79 (new 1)

Opened 2 years ago

Last modified 1 year ago

Adam

Reported by: josh@besquared.net Assigned to: somebody
Priority: 1 Milestone: 1
Component: 1 Keywords: Adam
Cc: Adam

Description

This was diff'd against the entire revision 85 trunk. There are only 2 modifications to the existing codebase but I did it against the entire directory to make my life easier.

This is a large patch which includes 4 things that will allow developers to extend radiant in many ways.

1. A modified version of the engines plugin

  • Engines will now load their views over the existing views in the application
  • Initial support for adding routes through an Engines::Routes class

2. A modified environment.rb that calls Engines.start to load all engines

3. A modified routes.rb that loads high priority routes using the Engines::Routes class

4. A test engine that shows how to layout a plugin and utilize the new routes class

This will make everyone happy, rainbows and butterflies, and only 2 lines of code added to the existing radiant codebase.

Engines have built in support for modifying models, views, controllers, testing, migrations, and this version now has high priority routing.

Attachments

radiant_engines.diff (148.6 kB) - added by josh@besquared.net on 07/15/06 07:39:52.
Patch to include modified engines

Change History

07/15/06 07:39:52 changed by josh@besquared.net

  • attachment radiant_engines.diff added.

Patch to include modified engines

07/15/06 07:41:24 changed by josh@besquared.net

I'm not sure if I diff'd this correctly so I'm going to put a the entire modified codebase up at http://www.besquared.net/files/radiant_engines.tar.

07/17/06 14:16:58 changed by jlong

  • summary changed from [PATCH] Engine based plugins for radiant to [RESEARCH] [PATCH] Engine based plugins for radiant.

09/07/06 18:26:36 changed by Adam

  • cc set to Adam.
  • component changed from component1 to 1.
  • summary changed from [RESEARCH] [PATCH] Engine based plugins for radiant to Adam.
  • priority changed from major to 1.
  • version set to 1.
  • milestone set to 1.
  • keywords set to Adam.
  • type changed from enhancement to 1.

spam

06/17/07 01:40:19 changed by fdas

spam