Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

web apps on a limited access server (cpanel)

by jimbus (Friar)
on Jul 23, 2012 at 20:24 UTC ( #983232=perlquestion: print w/ replies, xml ) Need Help??
jimbus has asked for the wisdom of the Perl Monks concerning the following question:

Hola Monks!

It's been a while maybe even years and I'm trying to get back in the groove. I'd like to build a json/ajax web app with an eye toward an ios/android app on a hosted web site that I access through cpanel. json/ajax was just becoming voguish when I went idle and I can finger it out on my own. There also seems to be decent documentation on Enyo for the cross phone app. Where I'm having confusion is how to set up/use/manage perl_mod through cPanel on the domain and sub-domains. I'd be eternally grateful if had a URL for a Toot or a recipe.

Blessings


--Jimbus aka Jim Babcock
Wireless Stay at Home Dad and Geek Wannabe
jim-at-thebabcocks-dot-com

Comment on web apps on a limited access server (cpanel)
Re: web apps on a limited access server (cpanel)
by davido (Archbishop) on Jul 23, 2012 at 23:27 UTC

    Are you dead set on using mod_perl and cpanel? Many cloud services offer PSGI support which opens the doors for any Plack-friendly framework (Catalyst, Dancer, Mojolicious), and frees you from much of the drudgery of hand-coding to mod_perl. In fact, Plack/PSGI is happy in a mod_perl environment, so you can stick with a mod_perl setup and still enjoy the benefits of a higher-level middleware. But to me the whole process gets a lot easier when you stop caring about mod_perl, and what back-end Plack sits on, and start using a modern web framework. My preference is Mojolicious, which handles json out of the box, and gives you a nice environment from which to code your web application (even if it includes Ajax).


    Dave

      I'm not deadset on anything and I guess that I have been out of the field for long enough that I'm barking up the wrong tree, which would explain why my google search have been utter fails.

      I have a series of WP sites hosted on one of the bigger hosts, so I thought that would be an obvious choice and they manage everything through cPanel. I built my web app and data mining empire at my previous employer on perl, mod_perl/mason, so again, seemed obvious. But I spent most of the whole day researching, with no luck (between keeping 4 kids cleaning, getting lunch and dinner and taking them to practices).

      So you think I'd be better served looking at a cloud service with PSGI/Plank and Mojolicious? This first app is something to use in family just to get my feet wet, but I have had my eye on a tracking app for a scouting org I am involved in... it'd be cool if I could make it generally available for little or nothing. Would you have a service you'd recommend for my sort of "grand designs"? Maybe offline?

      Thanks!


      --Jimbus aka Jim Babcock
      Wireless Data Engineer and Geek Wannabe
      jim-dot-babcock-at-usa-dot-com
Re: web apps on a limited access server (cpanel)
by stonecolddevin (Vicar) on Jul 24, 2012 at 04:39 UTC

    AWS EC2 has a free option on the micro instances. It should be an excellent starting point with the option of scaling up if that need arises.

    Three thousand years of beautiful tradition, from Moses to Sandy Koufax, you're god damn right I'm living in the fucking past

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://983232]
Approved by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2014-07-26 03:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls