• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 02:00
CEST 08:00
KST 15:00
  • 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
Code S RO12 Preview: GuMiho, Bunny, SHIN, ByuN3The Memories We Share - Facing the Final(?) GSL30Code S RO12 Preview: Cure, Zoun, Solar, Creator4[ASL19] Finals Preview: Daunting Task30[ASL19] Ro4 Recap : The Peak15
Community News
Code S RO12 Results + RO8 Groups (2025 Season 2)3Weekly Cups (May 19-25): Hindsight is 20/20?0DreamHack Dallas 2025 - Official Replay Pack8[BSL20] RO20 Group Stage2EWC 2025 Regional Qualifiers (May 28-June 1)34
StarCraft 2
General
The Memories We Share - Facing the Final(?) GSL Code S RO12 Results + RO8 Groups (2025 Season 2) CN community: Firefly accused of suspicious activities Maru & Rogue GSL RO12 interviews: "I think the pressure really got to [trigger]" Karma, Domino Effect, and how it relates to SC2.
Tourneys
EWC 2025 Regional Qualifiers (May 28-June 1) RSL: Revival, a new crowdfunded tournament series DreamHack Dallas 2025 Last Chance Qualifiers for OlimoLeague 2024 Winter [GSL 2025] Code S:Season 2 - RO12 - Group B
Strategy
Simple Questions Simple Answers [G] PvT Cheese: 13 Gate Proxy Robo
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 475 Hard Target Mutation # 474 Futile Resistance Mutation # 473 Cold is the Void Mutation # 472 Dead Heat
Brood War
General
Will foreigners ever be able to challenge Koreans? BGH auto balance -> http://bghmmr.eu/ Battle.net is not working BW General Discussion Which player typ excels at which race or match up?
Tourneys
[ASL19] Grand Finals [BSL 2v2] ProLeague Season 3 - Friday 21:00 CET [BSL20] RO20 Group D - Sunday 20:00 CET [BSL20] RO20 Group B - Saturday 20:00 CET
Strategy
[G] How to get started on ladder as a new Z player I am doing this better than progamers do.
Other Games
General Games
Monster Hunter Wilds Path of Exile Nintendo Switch Thread Beyond All Reason Battle Aces/David Kim RTS Megathread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
LiquidLegends to reintegrate into TL.net
Heroes of the Storm
Simple Questions, Simple Answers
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia TL Mafia Community Thread TL Mafia Plays: Diplomacy TL Mafia: Generative Agents Showdown Survivor II: The Amazon
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread All you football fans (soccer)! European Politico-economics QA Mega-thread
Fan Clubs
Serral Fan Club
Media & Entertainment
[Manga] One Piece Movie Discussion!
Sports
2024 - 2025 Football Thread Formula 1 Discussion NHL Playoffs 2024 NBA General Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Cleaning My Mechanical Keyboard How to clean a TTe Thermaltake keyboard?
TL Community
The Automated Ban List TL.net Ten Commandments
Blogs
I was completely wrong ab…
jameswatts
Need Your Help/Advice
Glider
Trip to the Zoo
micronesia
Yes Sir! How Commanding Impr…
TrAiDoS
Poker
Nebuchad
Info SLEgma_12
SLEgma_12
SECOND COMMING
XenOsky
Customize Sidebar...

Website Feedback

Closed Threads



Active: 15088 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 States25550 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
Hyrule19023 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
Online Event
04:00
May Mayhem: Playoffs
Clem vs ShoWTimE
herO vs MaxPax
CranKy Ducklings226
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Nina 267
StarCraft: Brood War
Sea 4803
actioN 665
PianO 374
Sharp 65
Mind 52
soO 36
Icarus 20
Noble 14
Aegong 11
Bale 3
League of Legends
JimRising 831
Counter-Strike
tarik_tv9117
Stewie2K1400
Heroes of the Storm
Khaldor196
Other Games
summit1g8534
WinterStarcraft573
ViBE295
RuFF_SC2108
Organizations
Other Games
gamesdonequick742
StarCraft: Brood War
CasterMuse 6
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• practicex 55
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• RayReign 24
• Diggity6
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Stunt642
• HappyZerGling94
Upcoming Events
Road to EWC
3h
AllThingsProtoss
5h
Road to EWC
10h
BSL Season 20
12h
Bonyth vs Doodle
Bonyth vs izu
Bonyth vs MadiNho
Bonyth vs TerrOr
MadiNho vs TerrOr
Doodle vs izu
Doodle vs MadiNho
Doodle vs TerrOr
Replay Cast
1d 18h
Replay Cast
2 days
Bellum Gens Elite
3 days
The PondCast
4 days
Bellum Gens Elite
4 days
Replay Cast
4 days
[ Show More ]
Bellum Gens Elite
5 days
Replay Cast
5 days
CranKy Ducklings
6 days
SC Evo League
6 days
Bellum Gens Elite
6 days
Replay Cast
6 days
Liquipedia Results

Completed

Proleague 2025-05-28
DreamHack Dallas 2025
Calamity Stars S2

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
KCM Race Survival 2025 Season 2
NPSL S3
Rose Open S1
CSL Season 17: Qualifier 1
2025 GSL S2
Heroes 10 EU
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
ECL Season 49: Europe
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025
PGL Bucharest 2025
BLAST Open Spring 2025

Upcoming

CSL Season 17: Qualifier 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
CSLPRO Last Chance 2025
CSLAN 2025
K-Championship
SEL Season 2 Championship
Esports World Cup 2025
HSC XXVII
Championship of Russia 2025
Bellum Gens Elite Stara Zagora 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025
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.