Clickheat on RoR

Is it possible for a PHP based application, specifically Clickheat, be
ported to a currently running web application built from RoR?

I have managed to extract the directory of clickheat into the public
directory of our RoR application but when I access clickheat using
http://localserver/clickheat in my browser, I get a “Routing Error” with
message “no route found to match “/clickheat” with {:method=>:get}”

I am no developer of RoR. My boss just told me to port it. I don’t even
know if it is possible. Our developers are just starting to learn RoR.

If this can’t be done, are there any products which acts as such?

Thanks!

On Tue, Sep 9, 2008 at 6:11 PM, Abed Escobal
[email protected] wrote:

Is it possible for a PHP based application, specifically Clickheat, be
ported to a currently running web application built from RoR?

I am no developer of RoR. My boss just told me to port it.

Port – “You keep using that word. I do not think it means what you
think it means.”

Can you rewrite an existing PHP application in Ruby to run on the
Rails platform? Sure. Go for it. Looks interesting.

But dumping a “directory” of PHP code into an RoR app isn’t going
to do, well, anything useful :slight_smile:

FWIW,

/* hat tip to ‘The Princess Bride’ */

Hassan S. ------------------------ [email protected]

Hassan S. wrote:

Port – “You keep using that word. I do not think it means what you
think it means.”

Sorry. Maybe integrate will do? Do you have any suggestions for a person
whose english is not his native tongue?

Can you rewrite an existing PHP application in Ruby to run on the
Rails platform? Sure. Go for it. Looks interesting.

But dumping a “directory” of PHP code into an RoR app isn’t going
to do, well, anything useful :slight_smile:

Thanks for the info! Now I know what to say to my boss :smiley:

I set up this, or something similar a while ago.

I just put it on its own server, rather than on a particular website, &
configured it accept data from a number of sites. As I did not want a
php site & a rails site on the same server - just to keep my
environments seperate.

Google analytics & crazyegg.com provide similar functionality. Google is
free & there is a free version of crazyegg that might be all you need.

It works really well on flat html sites - not quite so well on Ajax
heavy sites.

I found the information really helpful & it seemed to convey more info
than just raw numbers - so its definately worthwhile.

rgds,

On Tue, Sep 9, 2008 at 7:47 PM, Abed Escobal
[email protected] wrote:

Sorry. Maybe integrate will do? Do you have any suggestions for a person
whose english is not his native tongue?

I perhaps wrongfully assumed that basic CS terms like “port” – and
FWIW I don’t have a CS degree – would be pretty universal. Sorry.

Thanks for the info! Now I know what to say to my boss :smiley:

Maybe you can talk him into sponsoring the port/development of a
clickheat-functional-equivalent gem/plugin. That would be cool :slight_smile:

Let us know how it goes!


Hassan S. ------------------------ [email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs