extjs plus ramaze

3 views
Skip to first unread message

theG

unread,
Aug 18, 2008, 2:38:33 PM8/18/08
to Ramaze
Here's an interesting one. Basically was thinking adding some quick
extjs code to ramaze because it provides a web server built-in.

1. is this a good idea? i know n-tiers are better, but say if i just
wanted to quickly mock-up something
2. how would you go about using extjs with ruby (+ramaze)

thanks

theG

unread,
Aug 18, 2008, 2:41:35 PM8/18/08
to Ramaze
Also how would you map the extjs resources (various js and css files)
without explicitly specifying each one using "map"?

Michael Fellinger

unread,
Aug 18, 2008, 2:51:40 PM8/18/08
to ram...@googlegroups.com
On Tue, Aug 19, 2008 at 3:41 AM, theG <gurpa...@hotmail.com> wrote:
>
> Also how would you map the extjs resources (various js and css files)
> without explicitly specifying each one using "map"?

Put them in your /public directory.

>
> On Aug 18, 7:38 pm, theG <gurpal2...@hotmail.com> wrote:
>> Here's an interesting one. Basically was thinking adding some quick
>> extjs code to ramaze because it provides a web server built-in.
>>
>> 1. is this a good idea? i know n-tiers are better, but say if i just
>> wanted to quickly mock-up something

Only few need n-tiers, hopefully you will be lucky enough :)

>> 2. how would you go about using extjs with ruby (+ramaze)

Haven't used it, but i guess just like any other javascript

>> thanks

Aman Gupta

unread,
Aug 18, 2008, 3:40:45 PM8/18/08
to ram...@googlegroups.com
On Mon, Aug 18, 2008 at 11:51 AM, Michael Fellinger <m.fel...@gmail.com> wrote:

On Tue, Aug 19, 2008 at 3:41 AM, theG <gurpa...@hotmail.com> wrote:
>
> Also how would you map the extjs resources (various js and css files)
> without explicitly specifying each one using "map"?

Put them in your /public directory.

If you have a file ./public/file.js, it will be available to the web browser via the url /file.js

  Aman

theG

unread,
Aug 18, 2008, 6:27:22 PM8/18/08
to Ramaze
thanks Michael and Aman !!

On Aug 18, 8:40 pm, "Aman Gupta" <themastermi...@gmail.com> wrote:
> On Mon, Aug 18, 2008 at 11:51 AM, Michael Fellinger
> <m.fellin...@gmail.com>wrote:

theG

unread,
Aug 18, 2008, 6:44:42 PM8/18/08
to Ramaze
thanks Michael and Aman !!

On Aug 18, 8:40 pm, "Aman Gupta" <themastermi...@gmail.com> wrote:
> On Mon, Aug 18, 2008 at 11:51 AM, Michael Fellinger
> <m.fellin...@gmail.com>wrote:
Reply all
Reply to author
Forward
0 new messages