• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 01:05
CEST 07:05
KST 14:05
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
[ASL20] Ro24 Preview Pt1: Runway132v2 & SC: Evo Complete: Weekend Double Feature3Team Liquid Map Contest #21 - Presented by Monster Energy9uThermal's 2v2 Tour: $15,000 Main Event18Serral wins EWC 202549
Community News
Maestros of The Game—$20k event w/ live finals in Paris18Weekly Cups (Aug 11-17): MaxPax triples again!13Weekly Cups (Aug 4-10): MaxPax wins a triple6SC2's Safe House 2 - October 18 & 195Weekly Cups (Jul 28-Aug 3): herO doubles up6
StarCraft 2
General
What mix of new and old maps do you want in the next 1v1 ladder pool? (SC2) : Geoff 'iNcontroL' Robinson has passed away The GOAT ranking of GOAT rankings RSL Revival patreon money discussion thread Weekly Cups (Aug 11-17): MaxPax triples again!
Tourneys
Maestros of The Game—$20k event w/ live finals in Paris Sparkling Tuna Cup - Weekly Open Tournament Monday Nights Weeklies Master Swan Open (Global Bronze-Master 2) $5,100+ SEL Season 2 Championship (SC: Evo)
Strategy
Custom Maps
External Content
Mutation # 487 Think Fast Mutation # 486 Watch the Skies Mutation # 485 Death from Below Mutation # 484 Magnetic Pull
Brood War
General
Flash Announces (and Retracts) Hiatus From ASL BW General Discussion BW AKA finder tool Maps with Neutral Command Centers Victoria gamers
Tourneys
[ASL20] Ro24 Group C [Megathread] Daily Proleagues [ASL20] Ro24 Group A [ASL20] Ro24 Group B
Strategy
Simple Questions, Simple Answers Fighting Spirit mining rates [G] Mineral Boosting Muta micro map competition
Other Games
General Games
General RTS Discussion Thread Dawn of War IV Path of Exile Stormgate/Frost Giant Megathread Nintendo Switch Thread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread Things Aren’t Peaceful in Palestine The year 2050 European Politico-economics QA Mega-thread
Fan Clubs
INnoVation Fan Club SKT1 Classic Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2026 Football Thread TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion
World Cup 2022
Tech Support
High temperatures on bridge(s) Gtx660 graphics card replacement Installation of Windows 10 suck at "just a moment"
TL Community
"World Leading Blockchain Asset Retrieval" The Automated Ban List TeamLiquid Team Shirt On Sale
Blogs
Breaking the Meta: Non-Stand…
TrAiDoS
INDEPENDIENTE LA CTM
XenOsky
[Girl blog} My fema…
artosisisthebest
Sharpening the Filtration…
frozenclaw
ASL S20 English Commentary…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 3242 users

Web Programming

Blogs > JieXian
Post a Reply
1 2 Next All
JieXian
Profile Blog Joined August 2008
Malaysia4677 Posts
July 11 2012 18:21 GMT
#1
Hi I'm studying enginerring right now, learnt some Matlab and C and it's by far my best subject where I can understand everything really quickly, faster than the best student who's amazes me at when he nods during other lectures while all of us were blank. And of course, the relationship between my results and my effort put in was really makes me feel good. Not to brag but the other Engineering stuff (maths) is just so much harder for me.

Now that I'm thinking of learning web programming by myself (right thing to do for setting up a website?), I was thinking about learning Python since it looks similar to Matlab, which I like for having less bullshit, I've read a blog about Python vs PHP and it seems to be a better choice to learn PHP.

Can anyone help me? What do you think is the better language to learn?

Thanks.

*****
Please send me a PM of any song you like that I most probably never heard of! I am looking for people to chat about writing and producing music | https://www.youtube.com/watch?v=noD-bsOcxuU |
Blazinghand *
Profile Blog Joined December 2010
United States25552 Posts
July 11 2012 18:23 GMT
#2
PHP and Python serve different purposes. Both are interpreted languages, which is nice, but Python is typically used to write scripts and the like that aren't part of a webpage proper. PHP, on the other hand, is definitely used for web programming and design. I'm personally a huge fan of Python-- I love programming in it-- but PHP is where it's at in web development.
When you stare into the iCCup, the iCCup stares back.
TL+ Member
Rad
Profile Joined May 2010
United States935 Posts
July 11 2012 18:36 GMT
#3
It really depends on what you want your website to do. For a basic information site, you may not even need PHP, just HTML and possibly CSS if you want to pretty it up. At the very least, you just need some HTML to make a basic website, or a program that has a designer UI to avoid coding all together. If you're wanting to do some more advanced things like processing forms, creating a user system, etc, I would recommend PHP as it's IMO the fastest/easiest to pick up compared to your other options (java, asp.net, etc).

This is all assuming you don't want to become a full time web developer, and just want to make your own site this one time, which is what I got from your post.
MaGariShun
Profile Joined May 2010
Austria305 Posts
Last Edited: 2012-07-11 18:42:38
July 11 2012 18:38 GMT
#4
You want to learn html, css and javascript (especially the jQuery library once you get proficient in the basics) first, because that's how you build a website.
PHP, Python, Java, Ruby, C++, C etc. are used at the webserver to dynamically create the Information fed to the browser via html, javascript and css and only needed once you have more complex site with say a database and dynamic content.

You HAVE to at least learn HTML to do any website work at all (fear not, it takes like 10 minutes) and if you want your site to look pretty, you will need css too. If you then want animations and other fancy interactivity, you have to learn javascript.

Only once you know that stuff you can get into PHP and similar languages. I would not recommend python, because AFAIK it's not really tailored to this stuff (although certainly used for it). If you want to stick to a C-like language, you can learn Java with JSPs, which works similar to PHP, but the programming stuff is done in Java. It's a bit harder to learn than PHP, but then again, probably everything is.
Apom
Profile Blog Joined August 2011
France655 Posts
July 11 2012 19:11 GMT
#5
Matlab and C (both beautiful languages) have nothing in common with web programming. Do you want to learn web programming because you think of it as a future career choice, or just because you want to get a website up for personal purposes ?
CreationSoul
Profile Blog Joined August 2010
Romania231 Posts
Last Edited: 2012-07-11 19:27:34
July 11 2012 19:26 GMT
#6
Knowing hot to program and C will make it easier to learn PHP.

PHP is really nice and easy.... but you must also learn some Javascript and some ajax.... and you are set to go....

Also don't forget about CSS (web design) and you will learn the complete package

Quitting is the easy way out...
Xyik
Profile Blog Joined November 2009
Canada728 Posts
July 11 2012 19:33 GMT
#7
Web programming involves a lot of moving parts, you can't really avoid it. You should consider the complexity of what you're making before deciding on the language / framework. For sure you will need to know HTML, CSS, Javascript regardless of what is going on in the back-end. If you want dynamic content pushed to the website and have persistent data you will need to consider how to hook together your entire technology stack. You'll also have to deal with other things like getting a server, hosting, dns.
JieXian
Profile Blog Joined August 2008
Malaysia4677 Posts
Last Edited: 2012-07-11 19:48:02
July 11 2012 19:47 GMT
#8
On July 12 2012 04:11 Apom wrote:
Matlab and C (both beautiful languages) have nothing in common with web programming. Do you want to learn web programming because you think of it as a future career choice, or just because you want to get a website up for personal purposes ?


Sorry for not clarifying to everyone.

Maybe as a career but mostly to be able to put something to work if I suddenly have a $1000000000 idea, you never know :D

So what I'm getting is that I'll need to learn quite a number of languages?
Please send me a PM of any song you like that I most probably never heard of! I am looking for people to chat about writing and producing music | https://www.youtube.com/watch?v=noD-bsOcxuU |
TheSwedishFan
Profile Blog Joined July 2012
Sweden608 Posts
Last Edited: 2012-07-11 19:51:03
July 11 2012 19:47 GMT
#9
If you like the C syntax i would recommend checking out C# with ASP.NET.
"Suck it" - Kennigit 2012
Tobberoth
Profile Joined August 2010
Sweden6375 Posts
July 11 2012 19:49 GMT
#10
I would recommend against learning PHP. While it might very well be a big standard in web development right now, it's just... crap compared to more complex solutions such as ASP.Net, Ruby On Rails, Django etc. It's in no way useless, but if you're a programmer, you'll probably appreciate the web application solutions. If you're into Python, learn python and use django, and you won't have to care about PHP at all.

I work fulltime in web development, I never touch PHP.
Logo
Profile Blog Joined April 2010
United States7542 Posts
Last Edited: 2012-07-11 19:53:41
July 11 2012 19:51 GMT
#11
On July 12 2012 03:38 MaGariShun wrote:
You want to learn html, css and javascript (especially the jQuery library once you get proficient in the basics) first, because that's how you build a website.
PHP, Python, Java, Ruby, C++, C etc. are used at the webserver to dynamically create the Information fed to the browser via html, javascript and css and only needed once you have more complex site with say a database and dynamic content.

You HAVE to at least learn HTML to do any website work at all (fear not, it takes like 10 minutes) and if you want your site to look pretty, you will need css too. If you then want animations and other fancy interactivity, you have to learn javascript.

Only once you know that stuff you can get into PHP and similar languages. I would not recommend python, because AFAIK it's not really tailored to this stuff (although certainly used for it). If you want to stick to a C-like language, you can learn Java with JSPs, which works similar to PHP, but the programming stuff is done in Java. It's a bit harder to learn than PHP, but then again, probably everything is.


This, but probably would recommend using node.js so you can learn the design challenges of building both a client and a server without having to learn an extra language. Once you feel comfortable building out this sort of stuff you can easily pick up PHP, Java, Ruby, etc.
Logo
JieXian
Profile Blog Joined August 2008
Malaysia4677 Posts
July 11 2012 19:52 GMT
#12
Ah ya totally forgot about Java

I already learnt some HTML while I was trying to tweak my blog from a long time ago. However I don't think people actually program from HTML right? Don't people use something like frontpage? (CSS looks very similar to HTML from skimming wikipedia)
Please send me a PM of any song you like that I most probably never heard of! I am looking for people to chat about writing and producing music | https://www.youtube.com/watch?v=noD-bsOcxuU |
Logo
Profile Blog Joined April 2010
United States7542 Posts
July 11 2012 19:55 GMT
#13
CSS and HTML are completely different, but both can do a lot of the same stuff due to various reasons. HTML is supposed to define your content. CSS is supposed to make it look pretty.
Logo
Xyik
Profile Blog Joined November 2009
Canada728 Posts
July 11 2012 19:56 GMT
#14
Html is just a mark-up language not programming. Css is similarly just styling Html elements. I wouldn't recommend node.js if you want to avoid moving parts.
JieXian
Profile Blog Joined August 2008
Malaysia4677 Posts
July 11 2012 20:03 GMT
#15
thanks everyone for making stuff clear. Keep it coming please, going to sleep now.
Please send me a PM of any song you like that I most probably never heard of! I am looking for people to chat about writing and producing music | https://www.youtube.com/watch?v=noD-bsOcxuU |
tofucake
Profile Blog Joined October 2009
Hyrule19063 Posts
July 11 2012 20:06 GMT
#16
PHP is a shitbag and is quirky and annoying. I use it every day.

Python is cool and all, but not really quite suited for web development.

PHP has the advantage of being used just about everywhere; Python isn't as universal.

IMO it's worth it to learn both eventually, but if you want to do websites specifically, PHP.

Regardless which of the two you pick, you will need to learn HTML, CSS, and JavaScript
Liquipediaasante sana squash banana
DRTnOOber
Profile Blog Joined February 2012
New Zealand476 Posts
July 11 2012 20:40 GMT
#17
All of this discussion is moot unless you have a clear understanding of what it is you're developing. Which language you use to build it is mostly trivial and the decision should be made in response to your requirements. It would be fair to use multiple scripting and programming languages for any given project, and an entirely different set for another.

One option is to look at Perl. It's old, essentially the grandfather of newer languages like PHP, Python, or JavaScript. It's unforgiving and difficult, but in understanding it you pick up a lot of concepts about memory structures and execution which you can apply to other languages you encounter.

And if you are serious about developing web applications I'd also look at understanding some web and application servers. Apache Web Server and Apache Tomcat are free options and are actually used for a lot of commercial applications.
But I'm off creep... and so I slow down, what are hellions doing here? I don't belong here...
brolaf
Profile Joined May 2012
291 Posts
July 11 2012 20:43 GMT
#18
On July 12 2012 04:11 Apom wrote:
Matlab and C (both beautiful languages) have nothing in common with web programming. Do you want to learn web programming because you think of it as a future career choice, or just because you want to get a website up for personal purposes ?

For speed critical web code you will likely want to code it in C.
Rad
Profile Joined May 2010
United States935 Posts
Last Edited: 2012-07-11 21:04:15
July 11 2012 21:03 GMT
#19
On July 12 2012 04:47 JieXian wrote:
Show nested quote +
On July 12 2012 04:11 Apom wrote:
Matlab and C (both beautiful languages) have nothing in common with web programming. Do you want to learn web programming because you think of it as a future career choice, or just because you want to get a website up for personal purposes ?


Sorry for not clarifying to everyone.

Maybe as a career but mostly to be able to put something to work if I suddenly have a $1000000000 idea, you never know :D

So what I'm getting is that I'll need to learn quite a number of languages?


I feel like everyone's making this way too complicated.

Just learn HTML or an HTML designer program (frontpage, dreamweaver, etc). If you want to truly understand webpage layout, skip the designer and learn HTML.

That's all you need for a basic website and isn't daunting at all. You don't need to learn a bunch of different languages to get up and running and figure out if it's something you're interested in.

After that it's up to how deep you want to go. You can learn CSS to make it pretty, or javascript to add extra UI functionality. You could learn a javascript library like jQuery to make life easier, or one of the other many options. Then if you want to have a backend element for processing things (storing data, making your website dynamic, etc), you pick up a backend language like PHP, Java, C#, etc. You can research the pros and cons of each and determine which backend language you want to learn first. If it becomes a career, you may end up learning them all, or you may not, depending on your company's needs, but learning new languages becomes easier the more you do it.

Everything is quite separate, so it's not like you have to learn javascript before PHP, or visa versa. You also may not have to learn one or the other depending on what you want to accomplish. I would suggest starting with HTML and start picking stuff up as needed to accomplish different ideas you have. Mess with some already written javascript and get some hello worlds going in different backend languages. A little here and a little there. If you choose to make it a career, that's when you settle down and really learn the ins and outs of specific languages.
JieXian
Profile Blog Joined August 2008
Malaysia4677 Posts
July 12 2012 05:19 GMT
#20
On July 12 2012 05:40 DRTnOOber wrote:
All of this discussion is moot unless you have a clear understanding of what it is you're developing. Which language you use to build it is mostly trivial and the decision should be made in response to your requirements. It would be fair to use multiple scripting and programming languages for any given project, and an entirely different set for another.

One option is to look at Perl. It's old, essentially the grandfather of newer languages like PHP, Python, or JavaScript. It's unforgiving and difficult, but in understanding it you pick up a lot of concepts about memory structures and execution which you can apply to other languages you encounter.

And if you are serious about developing web applications I'd also look at understanding some web and application servers. Apache Web Server and Apache Tomcat are free options and are actually used for a lot of commercial applications.


The truth is before this blog I didn't even know what to know and I definitely didn't know what I didn't know, especially the Apache part.

Thanks again everyone!

and Rad, I'd rather it be too complicated than too shallow :D
Please send me a PM of any song you like that I most probably never heard of! I am looking for people to chat about writing and producing music | https://www.youtube.com/watch?v=noD-bsOcxuU |
1 2 Next All
Please log in or register to reply.
Live Events Refresh
Korean StarCraft League
03:00
Week 79
CranKy Ducklings123
HKG_Chickenman38
davetesta31
IntoTheiNu 29
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Nina 252
StarCraft: Brood War
Sea 4517
ggaemo 1003
Dota 2
NeuroSwarm100
LuMiX0
League of Legends
JimRising 720
Counter-Strike
Stewie2K565
C9.Mang0363
Other Games
summit1g7184
shahzam747
singsing590
ViBE238
Trikslyr28
Organizations
Other Games
gamesdonequick770
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• Sammyuel 25
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Diggity6
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Lourlo825
• Stunt204
Upcoming Events
CranKy Ducklings
4h 55m
SC Evo League
6h 55m
WardiTV Summer Champion…
7h 55m
Classic vs Percival
Spirit vs NightMare
CSO Cup
10h 55m
[BSL 2025] Weekly
12h 55m
Sparkling Tuna Cup
1d 4h
SC Evo League
1d 6h
Replay Cast
1d 18h
Afreeca Starleague
2 days
Queen vs HyuN
EffOrt vs Calm
Wardi Open
2 days
[ Show More ]
RotterdaM Event
2 days
Replay Cast
2 days
Afreeca Starleague
3 days
Rush vs TBD
Jaedong vs Mong
Afreeca Starleague
4 days
herO vs TBD
Royal vs Barracks
Replay Cast
4 days
The PondCast
5 days
Replay Cast
5 days
LiuLi Cup
6 days
Cosmonarchy
6 days
OyAji vs Sziky
Sziky vs WolFix
WolFix vs OyAji
BSL Team Wars
6 days
Team Hawk vs Team Dewalt
BSL Team Wars
6 days
Team Hawk vs Team Bonyth
Liquipedia Results

Completed

Jiahua Invitational
uThermal 2v2 Main Event
HCC Europe

Ongoing

Copa Latinoamericana 4
BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Qualifiers
ASL Season 20
CSL Season 18: Qualifier 1
Acropolis #4 - TS1
CSLAN 3
SEL Season 2 Championship
WardiTV Summer 2025
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025

Upcoming

CSL Season 18: Qualifier 2
CSL 2025 AUTUMN (S18)
LASL Season 20
BSL Season 21
BSL 21 Team A
Chzzk MurlocKing SC1 vs SC2 Cup #2
RSL Revival: Season 2
Maestros of the Game
EC S1
Sisters' Call Cup
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
MESA Nomadic Masters Fall
CS Asia Championships 2025
Roobet Cup 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.