• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 14:02
CET 19:02
KST 03:02
  • 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
ByuL: The Forgotten Master of ZvT29Behind the Blue - Team Liquid History Book19Clem wins HomeStory Cup 289HomeStory Cup 28 - Info & Preview13Rongyi Cup S3 - Preview & Info8
Community News
BSL Season 223Vitality ends partnership with ONSYDE20Team Liquid Map Contest - Preparation Notice6Weekly Cups (Feb 23-Mar 1): herO doubles, 2v2 bonanza2Weekly Cups (Feb 16-22): MaxPax doubles0
StarCraft 2
General
GSL CK - new tournament Weekly Cups (Feb 23-Mar 1): herO doubles, 2v2 bonanza Vitality ends partnership with ONSYDE How do you think the 5.0.15 balance patch (Oct 2025) for StarCraft II has affected the game? Team Liquid Map Contest - Preparation Notice
Tourneys
RSL Season 4 announced for March-April Sparkling Tuna Cup - Weekly Open Tournament PIG STY FESTIVAL 7.0! (19 Feb - 1 Mar) $5,000 WardiTV Winter Championship 2026 Sea Duckling Open (Global, Bronze-Diamond)
Strategy
Custom Maps
Publishing has been re-enabled! [Feb 24th 2026] Map Editor closed ?
External Content
The PondCast: SC2 News & Results Mutation # 516 Specter of Death Mutation # 515 Together Forever Mutation # 514 Ulnar New Year
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ battle.net problems ASL21 General Discussion BSL Season 22 BSL 22 Map Contest — Submissions OPEN to March 10
Tourneys
[Megathread] Daily Proleagues ASL Season 21 Qualifiers March 7-8 BWCL Season 64 Announcement [BSL22] Open Qualifier #1 - Sunday 21:00 CET
Strategy
Soma's 9 hatch build from ASL Game 2 Fighting Spirit mining rates Simple Questions, Simple Answers Zealot bombing is no longer popular?
Other Games
General Games
Nintendo Switch Thread PC Games Sales Thread Path of Exile No Man's Sky (PS4 and PC) Stormgate/Frost Giant Megathread
Dota 2
Official 'what is Dota anymore' discussion The Story of Wings Gaming
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Mafia Game Mode Feedback/Ideas Vanilla Mini Mafia TL Mafia Community Thread
Community
General
US Politics Mega-thread Mexico's Drug War Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine YouTube Thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
[Manga] One Piece [Req][Books] Good Fantasy/SciFi books Anime Discussion Thread
Sports
2024 - 2026 Football Thread Cricket [SPORT] Formula 1 Discussion TL MMA Pick'em Pool 2013
World Cup 2022
Tech Support
Laptop capable of using Photoshop Lightroom?
TL Community
The Automated Ban List
Blogs
FS++
Kraekkling
Shocked by a laser…
Spydermine0240
Gaming-Related Deaths
TrAiDoS
ONE GREAT AMERICAN MARINE…
XenOsky
Unintentional protectionism…
Uldridge
ASL S21 English Commentary…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1946 users

Web Programming - Page 2

Blogs > JieXian
Post a Reply
Prev 1 2 All
JieXian
Profile Blog Joined August 2008
Malaysia4677 Posts
Last Edited: 2012-07-12 05:30:30
July 12 2012 05:26 GMT
#21
Short question: when I click 'view source code' in chrome it's html right? Or PHP?

Or does it depend on the actual code used?
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 |
Integra
Profile Blog Joined January 2008
Sweden5626 Posts
Last Edited: 2012-07-12 05:49:56
July 12 2012 05:48 GMT
#22
On July 12 2012 14:26 JieXian wrote:
Short question: when I click 'view source code' in chrome it's html right? Or PHP?

Or does it depend on the actual code used?

It's HTML and its the only thing along with Javascript you will see from the view source code. PHP/Java is being executed before the webpage loads so you will actually never see it from the view source.

Example of html would be:
<Html>
<head> heading </head>
<Body>
<h1> this is a text</h1>
</body>
</Html>

php would be:

<? php
$variable ="foo";
Define 'text' = 'excellent'

if (!empty($variable && text))
{
echo "this is " . $variable . "and " . text;
}
else
{
echo 'variables were empty so something didn't work as it was suppose to.'
}

?>


"Dark Pleasure" | | I survived the Locust war of May 3, 2014
Deleted User 101379
Profile Blog Joined August 2010
4849 Posts
July 12 2012 09:28 GMT
#23
On July 12 2012 05:06 tofucake wrote:
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


This.

PHP is a crappy, annoying and really bad language... but if you are looking to work in web development you need it since it's probably the most common web development language on the market eventhough even the PHP creator says "If you want clean code, PHP is not for you" (I think it was http://vimeo.com/13768954 around 1:03:00 - 1:05:00)

Most companies that do Web Development have:
* MySQL as database backend
* PHP on the server side
* JavaScript on the client side

You need to know all 3 and of course HTML&CSS.

MySQL is quite simple, once you get the hang of joins, subselects and such. It's not the best database in the world but it does it's job. PostgreSQL is more powerful but basically noone uses it.

PHP is very similar to C - lots of basic functions are even called the same - since the creator originally just wanted PHP as a C abstraction. However, i strongly suggest using object oriented programming. Still, it's wierd scoping and it's very loose type system makes it annoying to work with. To interface with the MySQL backend, don't use the common mysql_* functions, use PDO or some database abstraction framework.

JavaScript is a very misunderstood language. It's not really procedural like C or object-oriented like C++, it's actually a lot closer to functional languages like lisp or scheme and once you actually understand that, it becomes a lot easier. Once you are accustomed to the basics, use jQuery, it makes a lot of stuff very easy.
JieXian
Profile Blog Joined August 2008
Malaysia4677 Posts
Last Edited: 2012-07-12 16:38:40
July 12 2012 15:56 GMT
#24
Thanks thanks and thanks everyone, very informative. I'll learn all of them (HTML, PHP, Python, Java, MySQL & CSS) since they are needed.

However given the fact that Youtube and Google use Python, does it mean something?

Also, do any of you happen to have any recommendations for goos sites/guides/techniques to learn a language? I'll be searching for them but it'll be great if anyone has any good suggestions. I'm talking about sites which good way of slowly introducing new things btw.

Thanks again


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 |
Integra
Profile Blog Joined January 2008
Sweden5626 Posts
Last Edited: 2012-07-12 17:08:08
July 12 2012 17:07 GMT
#25
On July 13 2012 00:56 JieXian wrote:
Thanks thanks and thanks everyone, very informative. I'll learn all of them (HTML, PHP, Python, Java, MySQL & CSS) since they are needed.

However given the fact that Youtube and Google use Python, does it mean something?

Also, do any of you happen to have any recommendations for goos sites/guides/techniques to learn a language? I'll be searching for them but it'll be great if anyone has any good suggestions. I'm talking about sites which good way of slowly introducing new things btw.

Thanks again



The big 3 is PHP, MYSQL and traditional HTML (which includes HTML/XHTML/javascript/CSS) learn those first, once you done that you will know if there is anything else you should learn. But go learn the 3's first, then you can see if there is something else you can complement it with.
"Dark Pleasure" | | I survived the Locust war of May 3, 2014
JieXian
Profile Blog Joined August 2008
Malaysia4677 Posts
July 13 2012 17:18 GMT
#26
meaning not python 1st right? Actually it seems quite easy for being similar to matlab/pseudocode. But Ya will take your advice.
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 |
Prev 1 2 All
Please log in or register to reply.
Live Events Refresh
Monday Night Weeklies
17:00
#43
TKL 343
SteadfastSC176
IndyStarCraft 154
BRAT_OK 142
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
TKL 343
UpATreeSC 191
SteadfastSC 176
IndyStarCraft 154
BRAT_OK 142
MaxPax 113
JuggernautJason38
StarCraft: Brood War
Sea 4286
Calm 3482
Horang2 521
Dewaltoss 142
Rock 29
Barracks 27
Killer 22
Hm[arnc] 18
Shine 11
Dota 2
Gorgc6642
qojqva1350
monkeys_forever146
Counter-Strike
fl0m3610
olofmeister2497
pashabiceps1713
Heroes of the Storm
MindelVK18
Other Games
gofns11590
tarik_tv4762
singsing1871
Grubby1548
Liquid`RaSZi1448
FrodaN1023
B2W.Neo975
Beastyqt524
ArmadaUGS125
QueenE112
C9.Mang099
Hui .85
Trikslyr51
Organizations
Dota 2
PGL Dota 2 - Main Stream8467
PGL Dota 2 - Secondary Stream4568
Other Games
gamesdonequick1884
BasetradeTV152
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Nemesis4668
• TFBlade1016
• Shiphtur291
Other Games
• imaqtpie835
Upcoming Events
OSC
5h 59m
Wardi Open
17h 59m
PiGosaur Monday
1d 5h
WardiTV Team League
1d 17h
Replay Cast
2 days
The PondCast
2 days
WardiTV Team League
2 days
Replay Cast
3 days
Replay Cast
4 days
CranKy Ducklings
4 days
[ Show More ]
WardiTV Team League
4 days
Replay Cast
5 days
Sparkling Tuna Cup
5 days
WardiTV Team League
5 days
Replay Cast
6 days
Replay Cast
6 days
Wardi Open
6 days
Monday Night Weeklies
6 days
Liquipedia Results

Completed

ASL Season 21: Qualifier #2
WardiTV Winter 2026
Underdog Cup #3

Ongoing

KCM Race Survival 2026 Season 1
Jeongseon Sooper Cup
Spring Cup 2026
BSL Season 22
RSL Revival: Season 4
Nations Cup 2026
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual

Upcoming

ASL Season 21
Acropolis #4 - TS6
Acropolis #4
IPSL Spring 2026
CSLAN 4
HSC XXIX
uThermal 2v2 2026 Main Event
Bellum Gens Elite Stara Zagora 2026
NationLESS Cup
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
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 © 2026 TLnet. All Rights Reserved.