Guys, maybe I'm not going about it the right way, seems like I am not from some of your comments, I get it.
Here's the why and what I'm after :
- I've been coding web stuff on and off since 1847, went from ASP to Java to PHP to Wordpress and now I'm trying Perl. Yes I'm a late bloomer it seems.
- I'm used to the way of simply inserting tags of code in html, like PHP or ASP or JSP etc...that's what I gravitate towards to naturally. That's how I've learned. I like that concept, even if some folks hate the fact of mixing logic and presentation together. I shamelessly don't find that to be an issue for me, makes it actually easier for me. I like it.
- I am NOT used to the "new" way of doing "apps" like what is done in nodejs-type languages. To me Mojo, Dancer etc. are all in that same vein. It's not that I'm against it, I just don't prefer that way of working from the get go, not familiar to me. I like the familiar.
- Also, doing something lower level (psgi/cgi) for me is also a way of learning how things work under the hood, I like that. Yes there are "security" risks for me in doing so. I don't mind burning myself while learning how to code securely. To me that's part of learning how to do things right. Why do you think the creator(s) of Mojo or other frameworks created their own in the first place. The argument that something else already exists wasn't an option for them either. People never think they should re-invent the wheel, until they do, every 10 years or so.
- Basically I just love the Perl language and I'm trying to learn it as "vanilla" as I can for now. I was just going to use CGI.pm but then learned about psgi so...I'll start with that. Perhaps in 2 weeks I'll come to my senses and use a "real" framework, who knows!
Again, not bashing the "other" ways of working or other frameworks. I just try to stick to concepts I already know if I can, better for my aging brain.
Thanks.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
|
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.