|P is for Practical|
Re: plack psgiby erickp (Acolyte)
|on Feb 09, 2023 at 16:32 UTC||Need Help??|
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.