• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 19:45
CET 01:45
KST 09:45
  • 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
RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10
Community News
Weekly Cups (Nov 24-30): MaxPax, Clem, herO win2BGE Stara Zagora 2026 announced15[BSL21] Ro.16 Group Stage (C->B->A->D)4Weekly Cups (Nov 17-23): Solar, MaxPax, Clem win3RSL Season 3: RO16 results & RO8 bracket13
StarCraft 2
General
Chinese SC2 server to reopen; live all-star event in Hangzhou Maestros of the Game: Live Finals Preview (RO4) BGE Stara Zagora 2026 announced Weekly Cups (Nov 24-30): MaxPax, Clem, herO win SC2 Proleague Discontinued; SKT, KT, SGK, CJ disband
Tourneys
RSL Offline Finals Info - Dec 13 and 14! Sparkling Tuna Cup - Weekly Open Tournament StarCraft Evolution League (SC Evo Biweekly) Sea Duckling Open (Global, Bronze-Diamond) $5,000+ WardiTV 2025 Championship
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 502 Negative Reinforcement Mutation # 501 Price of Progress Mutation # 500 Fright night Mutation # 499 Chilling Adaptation
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ Foreign Brood War Data analysis on 70 million replays BW General Discussion MBCGame Torrents
Tourneys
Small VOD Thread 2.0 [Megathread] Daily Proleagues [BSL21] RO16 Group D - Sunday 21:00 CET [BSL21] RO16 Group A - Saturday 21:00 CET
Strategy
Current Meta Game Theory for Starcraft How to stay on top of macro? PvZ map balance
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread Path of Exile ZeroSpace Megathread The Perfect Game
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
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Mafia Game Mode Feedback/Ideas TL Mafia Community Thread
Community
General
US Politics Mega-thread European Politico-economics QA Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread The Big Programming Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Where to ask questions and add stream? The Automated Ban List
Blogs
I decided to write a webnov…
DjKniteX
Physical Exertion During Gam…
TrAiDoS
James Bond movies ranking - pa…
Topin
Thanks for the RSL
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1285 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
OSC
22:00
Masters Cup #150: Playoffs
Solar vs Creator
ByuN vs Gerald
Percival vs Babymarine
Moja vs Krystianer
EnDerr vs ForJumy
sebesdes vs Nicoract
davetesta69
Liquipedia
BSL 21
20:00
RO16: Group A
Sziky vs OyAji
Gypsy vs eOnzErG
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft399
White-Ra 287
Nathanias 101
ROOTCatZ 6
StarCraft: Brood War
Shuttle 689
NaDa 44
Dota 2
canceldota139
League of Legends
C9.Mang0384
Counter-Strike
minikerr37
Heroes of the Storm
Khaldor165
Other Games
tarik_tv12119
summit1g7770
Grubby6507
shahzam371
XaKoH 124
ViBE61
Chillindude29
Organizations
Other Games
gamesdonequick729
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• RyuSc2 41
• HeavenSC 24
• Freeedom8
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• Ler75
Upcoming Events
Sparkling Tuna Cup
9h 15m
WardiTV 2025
11h 15m
OSC
14h 15m
IPSL
16h 15m
Bonyth vs KameZerg
BSL 21
19h 15m
Bonyth vs StRyKeR
Tarson vs Dandy
Replay Cast
1d 8h
Wardi Open
1d 11h
StarCraft2.fi
1d 15h
Monday Night Weeklies
1d 16h
Replay Cast
1d 23h
[ Show More ]
WardiTV 2025
2 days
StarCraft2.fi
2 days
PiGosaur Monday
3 days
StarCraft2.fi
3 days
Tenacious Turtle Tussle
3 days
The PondCast
4 days
WardiTV 2025
4 days
StarCraft2.fi
4 days
WardiTV 2025
5 days
StarCraft2.fi
6 days
RSL Revival
6 days
IPSL
6 days
Sziky vs JDConan
Liquipedia Results

Completed

Proleague 2025-12-04
RSL Revival: Season 3
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
CSCL: Masked Kings S3
Slon Tour Season 2
Acropolis #4 - TS3
WardiTV 2025
META Madness #9
Light HT
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Big Gabe Cup #3
RSL Offline Finals
Kuram Kup
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 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.