Forum: Ruby on Rails [ANN] Agile Legacy Interop

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
51b840b74eacc1c32e31bfe412d542af?d=identicon&s=25 Sebastian Delmont (Guest)
on 2006-02-20 17:15
I just wanted to announce my latest plugin: LegacyInterop

The 5 second video, minus the video, looks like this:
$ ./script/plugin install
svn://lirp.rubyforge.org/var/svn/lirp/trunk/legacy_interop

$ echo LegacyInterop.act_as_dotnet >> config/environment.rb

Done! Agile! Pragmatic!

The plugin includes support for a large number of legacy systems, all
using the "act_as" pattern.

act_as_dotnet
act_as_java
act_as_php
act_as_sh
act_as_perl

So for all those complaining about their bosses imposing a platform on
them.. I say: be free, be agile, use LegacyInterop.

Warning: void where prohibited.
722a18819725c0f6275b556ced89a3f4?d=identicon&s=25 Sascha Ebach (Guest)
on 2006-02-20 17:53
(Received via mailing list)
Sebastian Delmont wrote:
> The plugin includes support for a large number of legacy systems, all
> using the "act_as" pattern.
>
> act_as_dotnet
> act_as_java
> act_as_php
> act_as_sh
> act_as_perl
>
> So for all those complaining about their bosses imposing a platform on
> them.. I say: be free, be agile, use LegacyInterop.

Interesting, if I understand correctly. Please explain a little more
what
you can do with that.

Saša Ebach
4005a47a8f2ceee49670b920593c1d52?d=identicon&s=25 Ben Munat (Guest)
on 2006-02-20 18:21
(Received via mailing list)
Sascha Ebach wrote:
>> Done! Agile! Pragmatic!
>> So for all those complaining about their bosses imposing a platform on
>> them.. I say: be free, be agile, use LegacyInterop.
>
>
> Interesting, if I understand correctly. Please explain a little more
> what you can do with that.
>

I think Sebastian's joking...... pretty funny too.

b
4bd34a2216dc8bdbf1f017f64e4d59e8?d=identicon&s=25 Kyle Maxwell (Guest)
on 2006-02-20 18:24
(Received via mailing list)
On 2/20/06, Sebastian Delmont <sd@notso.net> wrote:
> The plugin includes support for a large number of legacy systems, all
>
> Warning: void where prohibited.
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>

So what does it actually do?

--
Kyle Maxwell
Chief Technologist
E Factor Media // FN Interactive
kyle@efactormedia.com
1-866-263-3261
3d333b0012928f3dd5a6861cb09ad683?d=identicon&s=25 Kris Leech (Guest)
on 2006-02-20 18:41
act_as_dotnet
act_as_java
act_as_php
act_as_sh
act_as_perl

;)
722a18819725c0f6275b556ced89a3f4?d=identicon&s=25 Sascha Ebach (Guest)
on 2006-02-20 19:00
(Received via mailing list)
> I think Sebastian's joking...... pretty funny too.

If he did, I fell for it ;)

Saša Ebach
51b840b74eacc1c32e31bfe412d542af?d=identicon&s=25 Sebastian Delmont (Guest)
on 2006-02-20 19:28
Oh, I'm serious!!! or as serious as you can be when you're playing with
route recognition and generation.


Sascha Ebach wrote:
>> I think Sebastian's joking...... pretty funny too.
>
> If he did, I fell for it ;)
>
> Saša Ebach
4005a47a8f2ceee49670b920593c1d52?d=identicon&s=25 Ben Munat (Guest)
on 2006-02-20 19:40
(Received via mailing list)
Sebastian Delmont wrote:
> Oh, I'm serious!!! or as serious as you can be when you're playing with
> route recognition and generation.


Huh. Well I'll be. Sorry about that Sebastian. Ok, what exactly does
your plugin do?

b
51b840b74eacc1c32e31bfe412d542af?d=identicon&s=25 Sebastian Delmont (Guest)
on 2006-02-20 19:44
LegacyInterop.act_as_dotnet makes all your pages and links use the
"aspx" extension.

LegacyInterop.act_as_java makes all your pages and links use the "jsp"
extension.

LegacyInterop.act_as_php, act_as_sh, etc... they all work as expected.

Still not implemented are several features, like error pages, http
headers, response delays, simulated vulnerabilities, etc, etc. We could
use a hand implementing those.


Ben Munat wrote:
> Sebastian Delmont wrote:
>> Oh, I'm serious!!! or as serious as you can be when you're playing with
>> route recognition and generation.
>
>
> Huh. Well I'll be. Sorry about that Sebastian. Ok, what exactly does
> your plugin do?
>
> b
D4ecf6097193e43bf0bf6ea186fcfbd0?d=identicon&s=25 matthibcn (Guest)
on 2006-02-20 19:59
(Received via mailing list)
Sebastian Delmont wrote:

>use a hand implementing those.
>
>
>
This is usefull and makes sense, when... ?!?

Matthi

am just curious about...
51b840b74eacc1c32e31bfe412d542af?d=identicon&s=25 Sebastian Delmont (Guest)
on 2006-02-20 20:27
When your dumb boss tells you "but we need to use php".

Or when you want to keep the competition in the dark about the strategic
advantages of using Rails.

Or just because you just wanted to explore the routing code and had
nothing better to do.

matthibcn wrote:
> Sebastian Delmont wrote:
>
>>use a hand implementing those.
>>
>>
>>
> This is usefull and makes sense, when... ?!?
>
> Matthi
>
> am just curious about...
5d15c6821f3c3054c04b85471824ba7c?d=identicon&s=25 Mikkel Bruun (Guest)
on 2006-02-20 21:26
(Received via mailing list)
You seem to be the right to aks this:

How do I set up a generic route point at /blabla/somestuff.txt

where somestuff could be the id of an actual stuffing ,-)

On Monday, February 20, 2006, at 6:41 PM, Kris Leech wrote:
>_______________________________________________
>Rails mailing list
>Rails@lists.rubyonrails.org
>http://lists.rubyonrails.org/mailman/listinfo/rails


Mikkel Bruun

www.strongside.dk    - Football Portal(DK)
nflfeed.helenius.org - Football News(DK)
ting.minline.dk      - Buy Old Stuff!(DK)
51b840b74eacc1c32e31bfe412d542af?d=identicon&s=25 Sebastian Delmont (Guest)
on 2006-02-20 21:50
The easiest way to deal with extensions is to create a route like

/blabla/:id/content.txt

Routing doesn't like extensions very much in the variable parts of
routes. It just considers them part of the :id.

You can also use "/blabla/:id", and have your model add ".txt" to it's
id's by defining the to_param method. (i.e. def to_param; "#{id}.txt";
end) and having your actions (or the find method for the model) take
care of removing the "txt".


Mikkel Bruun wrote:
> You seem to be the right to aks this:
>
> How do I set up a generic route point at /blabla/somestuff.txt
>
> where somestuff could be the id of an actual stuffing ,-)
>
> On Monday, February 20, 2006, at 6:41 PM, Kris Leech wrote:
>>_______________________________________________
>>Rails mailing list
>>Rails@lists.rubyonrails.org
>>http://lists.rubyonrails.org/mailman/listinfo/rails
>
>
> Mikkel Bruun
>
> www.strongside.dk    - Football Portal(DK)
> nflfeed.helenius.org - Football News(DK)
> ting.minline.dk      - Buy Old Stuff!(DK)
975903722618bb933df6564cf39f17b1?d=identicon&s=25 Nathanael (Guest)
on 2007-02-07 14:35
d2ce0ca4c245e801fad36bde15f386a7
<a href="http://13.ceonotorizlaba.info/prestitofilettino/">
prestitofilettino </a>
http://13.venecettizenzeta.info/immaginiditramonti/ <a
href="http://6.venecettizenzeta.info/karcherk397m/"> karcherk397m </a>
<a href="http://1.sesepokukluggi.info/testicanzonianastasia...
testicanzonianastasia </a> http://7.guentojungh.info/curarelacne/ <a
href="http://13.ilisapatrokko.info/guadagnaresms/"> guadagnaresms </a>
<a href="http://19.silicatokirpicho.info/ufficioleeds/"> ufficioleeds
</a> http://18.silicatokirpicho.info/manicottoindustriale/ <a
href="http://11.iliobaratrontomena.info/conceriaanguilla...
conceriaanguillaproduzione </a>
<a href="http://20.silicatokirpicho.info/ristoranteborgosan...
ristoranteborgosangiovanni </a>
http://17.draeraunutri.info/viaggioeuropacapitale/ <a
href="http://9.iliobaratrontomena.info/liguriaaereafoto/">
liguriaaereafoto </a>
<a href="http://16.ceonotorizlaba.info/portalistudenti/">
portalistudenti </a> http://4.silicatokirpicho.info/flatlibero/ <a
href="http://13.sesepokukluggi.info/prelievoarterioso/">
prelievoarterioso </a>
<a href="http://16.ilisapatrokko.info/compravenditamobileus...
compravenditamobileusatogenova </a>
http://3.guentojungh.info/centroassistenzasmeg/ <a
href="http://12.sesepokukluggi.info/casavinicolatrentino...
casavinicolatrentino </a>
<a href="http://5.guentojungh.info/ricettapescesale/"> ricettapescesale
</a> http://17.iliobaratrontomena.info/canzoneluciobattisti/ <a
href="http://16.guentojungh.info/autonoleggioscandiano/">
autonoleggioscandiano </a>
<a href="http://4.skollotueda.info/ufficiorothenburgobderta...
ufficiorothenburgobdertauber </a>
http://8.draeraunutri.info/volorosenheim/ <a
href="http://18.sesepokukluggi.info/tuttobenigniroberto/">
tuttobenigniroberto </a>
1d2a54e199a4afa520b7c52000cbb9f3
This topic is locked and can not be replied to.