Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Web Coding › What languages work on websites?
New Posts  All Forums:Forum Nav:

What languages work on websites?

post #1 of 4
Thread Starter 
I've picked html/css at codecademy back up. I'm thinking I will be done with the free stuff by the end of the week and might go out and buy a book, but that's for another thread.

I don't really know what all is required by a website to do some of the things I've got in mind. I think my first website will be a RSS (will I need sql to store the comments?) Where anyone could post on it, just enter their name and whatever msg. Would then add accounts n such, when I figure it out. None of my websites will see any real use, till I'm satisfied it's safe and can't be abused. (Like no logon required)


What languages allow what for websites?

Thanks,
Higgins909
post #2 of 4
Ok, first I'd say reconsider how you are going to build that site you mentioned. You are better coming up with a database design of your core functionality and implementing that and then implementing your basic feature set. Building a site and trying to add core functionality will have you re-writing large chunks of code over and over as you reconfigure how the system interconnects.

However, I guess it could also be argued to try a few small test projects and then build the main thing. Generally though, you will end up with a messy code base if you don't set up a lot of the core stuff initially, especially as a beginner.

For the website you are talking about you will most likely need to know PHP, HTML, CSS, JavaScript and some basic SQL queries.
Out of these I'd recommend studying JavaScript, as it is the most annoying to learn of these, and everyone writes JavaScript in such different ways due to the hacky nature of a lot of the implementations of standard programming structures (like classes for example).

In terms of not putting the site online till it's safe etc. I wouldn't worry too much about that, get it online ASAP tongue.gif it will give you more incentive to work on it. ****Just make sure you sanitize all your user inputs (forms) so people can't use SQL injection and hash user passwords (with bcrypt). Beyond that, if someone brings the site down, it probably won't matter that much (small user base -maybe also advise users to pick a new password), and just take regular (hourly/daily) backups of the database so you can bring the site back online if something goes down. You can google these two things quite easily.

Also consider a full stack framework like symfony, laravel, one of the other hundreds of FSFs, etc.
These will offer far more functionality than you need, but they will handle things like session management, data-store connections, user control, etc. without you having to build that functionality from the ground up.
Also in the end you will have to build a stack, and if you are new to programming, that will be a year-long mission.
You may need to learn the way do things in the framework, which probably won't apply to other frameworks, however you will be forced to learn good practices, like OOP, and you will be able to write your PHP and HTML in a very structured, separated way. I'd spend a few hours reading into the capabilities of Symfony (my fav.) and maybe jump on irc.freenode.net IRC Server and join the channels: #symfony, ##php, #html, #css, #javascript etc. and ask questions to the hundreds/thousands of users that occupy those channels and are ready to answer questions most of the time.
Edited by spinFX - 8/15/16 at 12:48am
Ol'Faithful
(11 items)
 
  
CPUMotherboardGraphicsRAM
Intel Xeon x5660 P6X58D-E XFX AMD Radeon R9 280X Corsair Vengeance 24 GB Triple Chanel 6x4GB 
Optical DriveCoolingOSMonitor
Lite-On DVD-RW Noctua DH-14 CPU Cooler Windows 7 Pro x64 Samsung 24" LED 1080p 5ms DVI (S23A300B) 
PowerMouseAudio
Thermaltake Toughpower 750W Gold Corsair M95 Onboard :S 
  hide details  
Reply
Ol'Faithful
(11 items)
 
  
CPUMotherboardGraphicsRAM
Intel Xeon x5660 P6X58D-E XFX AMD Radeon R9 280X Corsair Vengeance 24 GB Triple Chanel 6x4GB 
Optical DriveCoolingOSMonitor
Lite-On DVD-RW Noctua DH-14 CPU Cooler Windows 7 Pro x64 Samsung 24" LED 1080p 5ms DVI (S23A300B) 
PowerMouseAudio
Thermaltake Toughpower 750W Gold Corsair M95 Onboard :S 
  hide details  
Reply
post #3 of 4
With web pages there are 2 sides, server and client.
With a plain HTML page, the client requests the HTML from the server, and the server hands back the HTML the way it found it.

If you want to read from a database on the server, the sever will need to take care of that. This is server side scripting where you can use PHP, JAVA, ASP, NodeJS(?), Python(?). I recomend PHP because its free and pretty straight forward. Java can be a giant pain in the butt to get running for your first time, and ASP pretty much needs Visual Studio. I have yet to do much web stuff with NodeJS or Python. With server side scripting, you make the Request for the HTML, but when the server receives it, it does some additional stuff and then edit\creates the HTML that it sends back to you.

The next step is if you want stuff to happen on the clients computer like displaying the date. Thats where Javascript comes into play. Once the Server sends the HTML over to the client, the sever is done, and anything that needs to happen is done on the client side. So, if you want to make a button that will change the color of the background on your webpage, you will write some javascript that LOCALLY modifies the pages CSS.


I strongly recommend learning Javascript. With Javascript alone, there are TONS of stuff that you can do. They converted a game that i enjoyed playing to run on HTML. http://www.desktopdungeons.net/HTML5/ There is TONS to learn with just HTML\CSS\Javascript. I still have tons to learn.
Zev's Comp
(15 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5-2500K Sandy Bridge 3.3GHz GIGABYTE GA-Z68X-UD3H-B3 LGA 1155 Intel Z68 HDM... GeForce GTX 750 Ti G.SKILL Ripjaws X Series 8GB 
Hard DriveHard DriveHard DrivePower
1TB HDD 64GB SSD (Used for SRT) 500 GB. Antec BP550 Plus 550W Continuous Power ATX12V V... 
Case
COOLER MASTER ELITE 335 RC-335-KKN1-GP Black S... 
  hide details  
Reply
Zev's Comp
(15 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5-2500K Sandy Bridge 3.3GHz GIGABYTE GA-Z68X-UD3H-B3 LGA 1155 Intel Z68 HDM... GeForce GTX 750 Ti G.SKILL Ripjaws X Series 8GB 
Hard DriveHard DriveHard DrivePower
1TB HDD 64GB SSD (Used for SRT) 500 GB. Antec BP550 Plus 550W Continuous Power ATX12V V... 
Case
COOLER MASTER ELITE 335 RC-335-KKN1-GP Black S... 
  hide details  
Reply
post #4 of 4
Nice, I enjoy working with PHP. Having recently created Kee Connections in PHP, It's good to use with Navicat!
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Web Coding
Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Web Coding › What languages work on websites?