# Clickheat on RoR

**URL:** <https://www.ruby-forum.com/t/clickheat-on-ror/148175>\
**Category:** Rails\
**Created:** [September 10, 2008, 3:11am UTC](https://www.ruby-forum.com/t/clickheat-on-ror/148175 "2008-09-10T03:11:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![abednegoyulo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/bb73d2/32.png) [@abednegoyulo](https://www.ruby-forum.com/u/abednegoyulo)\
**Post date:** [September 10, 2008, 3:11am UTC](https://www.ruby-forum.com/t/clickheat-on-ror/148175/1 "2008-09-10T03:11:58Z")

</div>

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](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!

---

<div class="post-metadata">

**Author:** ![abednegoyulo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/bb73d2/32.png) [@abednegoyulo](https://www.ruby-forum.com/u/abednegoyulo)\
**Post date:** [September 10, 2008, 3:25am UTC](https://www.ruby-forum.com/t/clickheat-on-ror/148175/2 "2008-09-10T03:25:23Z")

</div>

On Tue, Sep 9, 2008 at 6:11 PM, Abed Escobal  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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 🙂

FWIW,

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

Hassan S. ------------------------ removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![abednegoyulo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/bb73d2/32.png) [@abednegoyulo](https://www.ruby-forum.com/u/abednegoyulo)\
**Post date:** [September 10, 2008, 4:47am UTC](https://www.ruby-forum.com/t/clickheat-on-ror/148175/3 "2008-09-10T04:47:29Z")

</div>

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 🙂

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

---

<div class="post-metadata">

**Author:** ![abednegoyulo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/bb73d2/32.png) [@abednegoyulo](https://www.ruby-forum.com/u/abednegoyulo)\
**Post date:** [September 10, 2008, 9:08am UTC](https://www.ruby-forum.com/t/clickheat-on-ror/148175/4 "2008-09-10T09:08:01Z")

</div>

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](http://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,

- matt.  
[http://www.internetschminternet.com](http://www.internetschminternet.com)

---

<div class="post-metadata">

**Author:** ![abednegoyulo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/bb73d2/32.png) [@abednegoyulo](https://www.ruby-forum.com/u/abednegoyulo)\
**Post date:** [September 10, 2008, 5:55am UTC](https://www.ruby-forum.com/t/clickheat-on-ror/148175/5 "2008-09-10T05:55:47Z")

</div>

On Tue, Sep 9, 2008 at 7:47 PM, Abed Escobal  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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 😃

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

Let us know how it goes!

–  
Hassan S. ------------------------ removed\_email\_address@domain.invalid
