The time has come when I need to bite the bullet and learn how to do some web development. It's really not my cup of tea. However, I have an idea for an application that needs to have a GUI in a web browser.
There is nothing revolutionary about this. It's pretty simple. There will be some sort of database back end (I'll have to learn that too) and I will write some code to implement the business logic which will run on the server and speak to the database. It will speak to a web server on the other side and there will be a client which will exist in a web page for drawing the pictures, including the buttons and the text boxes to type things in.
The last time I went near any evil web stuff was over a decade ago. We were using Fitnesse to run a bunch of Ruby scripts on a server somewhere. I seem to remember there was a web server (written in Java) that came with it. I quite liked Ruby, but haven't touched it since.
Due to the fact that I am a bit lysdexic (I think) I find programming in dynamic languages very difficult. I also appreciate the extra layers of compile-time checks a compiler gives you. I realise this is not the way web development works, which is why I have avoided it. I prefer to write my code using TDD so I always write a failing unit test case before implementing code to make it pass, rinse and repeat.
So what I want is something simple and powerful to do the browser front end which runs in as many browsers as possible, and will not drive me mad or give me migraines when I'm trying to learn how to do it.
Suggestions please!
(Score: 2) by c0lo on Saturday December 17, @12:01PM (4 children)
God have mercy of your soul, you are not only engaging in devil's work but you are walking into a dead end too.
I have stepped into Python recently (because FreeCAD and whatnot). It's sticky and stinks to heavens.
And its performance it's abysmal.
I'll switch to "scripting" FreeCAD in C++. Or, I don't know, maybe embed a Lua interpreter in a fork
https://www.youtube.com/watch?v=aoFiw2jMy-0
(Score: 2) by turgid on Saturday December 17, @12:15PM (2 children)
The more I learn about Python the less I like it. It's showing its age and coming up against its limitations. However, like death and taxes, C++ and Microsoft Windows, it's an inevitability in today's world so I'd better learn some. I've already made my first lissdecksick tripo on the tutorial and had to google it. Yes, someone else has also made a similar typo. I don't believe in copying-and-pasting straight out of the examples since the brain seldom takes the information in on the way past.
I refuse to engage in a battle of wits with an unarmed opponent [wikipedia.org].
(Score: 2) by c0lo on Saturday December 17, @01:04PM (1 child)
Get serious, turgid. Python is used for prototyping and verifying some ideas quickly. This is why academics love it - but then, they only need to publish some papers and then they can forget about those quick-and-extremely-dirty scripts.
Or admin scripting - yeah, I have to admit, (ba/z/)sh scripting would be even lower in my preferences.
https://www.youtube.com/watch?v=aoFiw2jMy-0
(Score: 2) by turgid on Saturday December 17, @01:49PM
Some years ago I taught myself shell (bash) scripting to a reasonable standard, what with it being so useful. I use bash scripts quote a lot since they are a cheap and powerful way to automate stuff.
I've recently been dealing with C code written by Python coders. It has been eye-opening.
Regarding web development, I have been wondering whether the whole WWW thing in general has become so baroque and over-complicated that it needs to be burnt down and replaced with something much simpler.
I refuse to engage in a battle of wits with an unarmed opponent [wikipedia.org].
(Score: 1) by khallow on Sunday December 25, @08:21AM