in reply to Re^2: Perl, Android web app, AJAX, JSON
in thread Perl, Android web app, AJAX, JSON
What others said about the value of previous advice is accurate.
such as cookie based client authentication, logging, caching, memory and performance optimizations etc
Apache cannot do some of that (memory and performance) for your code and might or might not be doing other parts as expected or to best practices. This thread is a bit vague though so it's hard to give real advice or discuss individual issues.
For my part, I am almost always going to agree with anything Corion or LanX recommend. Yes to REST, never-ever to SOAP, yes to Ajax/HTML5 + whatever functionality (for persistent authentication or location services for example) the mobile device exposes through it that you need; use device agnostic JavaScript libraries. Keep up to date with security, OWASP is your best one stop shopping. nginx + uWSGI + plack harnessed apps should be preferred over apache and modperl. Always use standard packages like JSON::XS. Never roll your own. It seems easier or faster than frameworks, like Mojolicious, at first but except in the most trivial cases where you already know what you're doing, it's false economy. Take the learning hit up front instead of floundering your way to it down the road or landing in maintenance Hell.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Perl, Android web app, AJAX, JSON
by monx663 (Sexton) on Nov 21, 2017 at 20:32 UTC |