The Core

Why We Are Here => Web Development => Topic started by: rcjordan on March 18, 2011, 06:46:43 PM

Title: so I wrote this little javascript app and
Post by: rcjordan on March 18, 2011, 06:46:43 PM
it turned out well. (An inflation-adjusted retirement fund cash flow calculator .)  I kept tweaking and adding features and it grew to be a fair-sized piece of logic.  It's nice enough that it definitely needs to go up on my sites to generate buzz and backlinks. It may even have potential for the smartphone app stores.

The problem now it's good enough that I don't want to post the javascript version but want to hide the logic on the server.  Any way to avoid a total rewrite to php?
Title: Re: so I wrote this little javascript app and
Post by: ukgimp on March 18, 2011, 08:37:31 PM
Could you mot just do an set of Apps, aparently they are the way forward :-)

Could you get some programmer to splice bits together, eg where you set the variables in the php after as part of a post script and they do the logic? That way my php programmer cant fuck off with your code/logic?

Title: Re: so I wrote this little javascript app and
Post by: rcjordan on March 18, 2011, 08:58:29 PM
>they are the way forward

They are. Debbie keeps screaming that our 'flat' web is dead but no one listens.

>splice bits together

As NFFC says, "I'd rather have a sharp needle stuck in my eye" versus working with -ugh- humans.

Besides, the work is done. All the logic has been completed. All the tables pop-up as required. All the math is right.  It just needs porting to php (or perl) for using on my sites and god-knows-what language for the smartphone app store.
Title: Re: so I wrote this little javascript app and
Post by: ergophobe on March 19, 2011, 05:52:17 AM
http://en.wikipedia.org/wiki/Server-side_JavaScript ??? Never tried it, but...
Title: Re: so I wrote this little javascript app and
Post by: dogboy on March 19, 2011, 02:16:52 PM
hey I still have my old mortgage calc site and instead of letting them steal the code, I gave them the option of adding a javascript FEED to their pages, along with a static/crawlable html link back to me, which, if removed, broke their calc:)

If this works for you I'll send you the ftp login and you can rummage around until you find the code...
Title: Re: so I wrote this little javascript app and
Post by: Torben on March 20, 2011, 10:20:58 PM
Take a look at Titanium: http://www.appcelerator.com/

It converts JavaScript to any platform