3 ms·
Get after it! It's not too late and you don't need the latest *js to make something valuable. The effort can be worth it!
by stets 6y ago
Get after it! It's not too late and you don't need the latest *js to make something valuable. The effort can be worth it!
- rodolphoarruda 6y agoVue.js was part of the architecture -- no kidding! But hey, thanks for the encouragement.
- stets 6y agoFuck vue.js. Launch your thing. EarlyBrd only used jinja2 templates with Flask. Now I'm migrating to laravel and only use Blade templates. Prove your thing out first because most users don't really care unless you're making some kind of real-time data analytics bs (in which case inqtel or other prob wants to send you some money)
- pembrook 6y agoWhat did you find were the downsides of developing a product in Flask vs. Laravel? Curious as I've been debating about which direction to steer a friend who is a designer trying their build their own product. He's played around with python, and liked it, so I was going to suggest flask (since most of online tutorials start there). But I've also heard good things about PHP/Laravel for beginners.
- stets 6y agoI would recommend Laravel or even Rails for a beginner over Flask. Again, with Flask I was re-writing and implementing things I didn't need to. Like hashing passwords. Or building user scaffolding. Flask fans will argue that you can do all of these. Yes...but you probably are grabbing some module and reading the docs and then messing around with it for a while. My forgotten email system in flask was a celery task running in a sidecar container and using an additional redis container for queueing and grabbing that job. In laravel that looks more like one command. `php artisan ui vue --auth`. Maybe there is a better way but I found myself struggling for a lot. Yes I didn't need to use psycopg2 and make nasty raw SQL calls because SQLAlchemy exists. SQLAlchemy isn't built in though. Django has a lot of these features and much of flask's attractiveness is in being light-weight so I guess it makes sense. Today, I'd say for solo-founders, try out Laravel > Rails > Django > Flask > everything else
- nonines 6y agoGreat work. I'm curious though. Why Flask and not Django? Seems like you wanted a heavyweight after all.
- jrumbut 6y agoYou could almost still run PHP scripts from those days. The same basic architecture works you just gotta study the new DB access methods that use prepared statements instead of string concatenation/interpolation. If you used Perl, mod_perl exists and CGI.pm is available in CPAN. The CGI protocol is as viable as it ever was (though of course there are new and improved alternatives). There are a bunch of minimal stylesheets out there that get you some mobile compatibility, and no IE 6/early Firefox nightmares, so your code can actually be simpler than ever.
- stets 6y agoSomeone should make a contest to revive older tech like perl and make a profitable product from it. Use the oldest tech and see who can make the most valuable product
- redis_mlc 6y agoFYI: Perl has one of the most powerful and modern web frameworks, Mojolicious, and one of the best web form libraries, called CGI::FormBuilder. Besides that, Perl allows forward references and has moderately strong type checking. And mod_perl is the best-performing language accelerator. I cringe whenever I have to downgrade to Python.
- robertlagrant 6y agoI cringe whenever I have to use a language accelerator.