• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 08:56
CEST 14:56
KST 21:56
  • 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
TL.net Map Contest #21: Voting10[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3[ASL20] Ro8 Preview Pt2: Holding On9Maestros of the Game: Live Finals Preview (RO4)5
Community News
Chinese SC2 server to reopen; live all-star event in Hangzhou5Weekly Cups (Oct 13-19): Clem Goes for Four0BSL Team A vs Koreans - Sat-Sun 16:00 CET6Weekly Cups (Oct 6-12): Four star herO85.0.15 Patch Balance Hotfix (2025-10-8)80
StarCraft 2
General
Chinese SC2 server to reopen; live all-star event in Hangzhou The New Patch Killed Mech! Team Liquid Map Contest #21 - Presented by Monster Energy herO joins T1 Weekly Cups (Oct 13-19): Clem Goes for Four
Tourneys
SC2's Safe House 2 - October 18 & 19 INu's Battles #13 - ByuN vs Zoun Tenacious Turtle Tussle Sparkling Tuna Cup - Weekly Open Tournament $1,200 WardiTV October (Oct 21st-31st)
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 496 Endless Infection Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment Mutation # 493 Quick Killers
Brood War
General
BW General Discussion Is there anyway to get a private coach? BSL Season 21 OGN to release AI-upscaled StarLeague from Feb 24 BW caster Sayle
Tourneys
[Megathread] Daily Proleagues [ASL20] Semifinal B SC4ALL $1,500 Open Bracket LAN Azhi's Colosseum - Anonymous Tournament
Strategy
[I] TvZ Strategies and Builds [I] TvP Strategies and Build Roaring Currents ASL final Current Meta
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile Nintendo Switch Thread Dawn of War IV ZeroSpace Megathread
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
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
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread The Chess Thread Things Aren’t Peaceful in Palestine Men's Fashion Thread
Fan Clubs
The herO Fan Club!
Media & Entertainment
Series you have seen recently... Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023 NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
Certified Crazy
Hildegard
The Heroism of Pepe the Fro…
Peanutsc
Rocket League: Traits, Abili…
TrAiDoS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1195 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
Wardi Open
11:00
October Qualifier #1
WardiTV693
IndyStarCraft 155
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Lowko309
IndyStarCraft 155
LamboSC2 56
Codebar 28
StarCraft: Brood War
Britney 41645
Calm 8078
Rain 3745
Horang2 1730
Hyuk 1377
Bisu 1096
Jaedong 951
Flash 788
firebathero 622
Soma 492
[ Show more ]
Light 337
Larva 316
actioN 290
Stork 289
EffOrt 278
Mini 248
ZerO 216
BeSt 174
Pusan 157
Snow 156
Hyun 124
Soulkey 122
sSak 120
Shuttle 114
PianO 109
Killer 85
ggaemo 71
JYJ60
Sea.KH 56
Rush 56
scan(afreeca) 55
Sharp 44
Movie 34
sorry 30
Shinee 27
TY 26
Free 24
soO 21
Shine 20
Bale 15
Sacsri 15
HiyA 12
Noble 10
Icarus 6
Terrorterran 4
Hm[arnc] 3
Mong 1
Dota 2
Gorgc1817
qojqva1190
Dendi518
XaKoH 352
XcaliburYe172
Fuzer 124
BananaSlamJamma119
syndereN36
Counter-Strike
oskar77
markeloff58
edward21
Other Games
summit1g7843
singsing1963
olofmeister1345
B2W.Neo892
hiko492
Liquid`LucifroN187
Sick162
Happy71
Mew2King59
QueenE34
Trikslyr27
ZerO(Twitch)10
ArmadaUGS5
Organizations
Counter-Strike
PGL421
StarCraft 2
IntoTheiNu 38
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• WagamamaTV402
• Noizen52
League of Legends
• Jankos3691
Upcoming Events
Wardi Open
1h 34m
PiGosaur Monday
11h 4m
Replay Cast
21h 4m
Tenacious Turtle Tussle
1d 10h
The PondCast
1d 21h
OSC
1d 23h
WardiTV Invitational
2 days
Online Event
3 days
RSL Revival
3 days
RSL Revival
3 days
[ Show More ]
WardiTV Invitational
3 days
Afreeca Starleague
4 days
Snow vs Soma
Sparkling Tuna Cup
4 days
WardiTV Invitational
4 days
CrankTV Team League
5 days
RSL Revival
5 days
Wardi Open
5 days
CrankTV Team League
6 days
Replay Cast
6 days
WardiTV Invitational
6 days
Liquipedia Results

Completed

Acropolis #4 - TS2
WardiTV TLMC #15
HCC Europe

Ongoing

BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
C-Race Season 1
IPSL Winter 2025-26
EC S1
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual

Upcoming

SC4ALL: Brood War
BSL Season 21
BSL 21 Team A
BSL 21 Non-Korean Championship
RSL Offline Finals
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
CranK Gathers Season 2: SC II Pro Teams
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 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.