3 ms·
Does it have to be PHP? No offence but you’d get so much more from learning Python and the barrier to entry really isn’t that high. The hardest hurdle initiall
by holografix 7y ago
Does it have to be PHP? No offence but you’d get so much more from learning Python and the barrier to entry really isn’t that high.
The hardest hurdle initially is to set up a “virtual environment” which means you have a project by project collection of all the packages you need instead of installing everything globally.
Setting up virtual environments used to be a pain. Today it’s so easy:
1. Make sure you have Python 3.8 installed. There’s installers for Mac and Win.
2. Create a folder for your new project.
2. Inside that folder, use your console or terminal to write: python3 -m venv p_env
3. You now have a virtual env, all your stuff will be stored in that p_env folder.
4. Activate it with another command: source p_env/bin/activate
5. It’s now activated and you can use “pip” to install packages like Django a great web framework.
By the way go check out Django and go through the tutorial. It’s very fun and will get you going with a CRUD in no time.
- riantogo 7y agoIt need not be PHP. Just that I'm most familiar with PHP and ASP.net from back in the day. I'm confident that I can pick up most languages. I will look into Python and Django. But honestly the setup steps already scare me a bit :)
- holografix 7y agoGo for it! Forget about setting a DB at first. Django will default to a “pseudo database as a single file” called SQLite and for all intents and purpose it’ll function as if it was MySQL or Postgres.
- cutler 7y agoASP.Net has moved on a bit and can now be hosted on Linux or Mac. ASP.Net Core 3.1, which will become the all-new integrated ASP.Net 5 at the end of the year, offers a much more mature developer experience without all the MS lock-in (MS SQL Server / Windows IIS etc.). The free version of Visual Basic actually runs pretty well on Mac OS X.