|
|
#1 |
|
System Support Specialist
Join Date: Apr 2010
Location: United Kingdom
Posts: 1,215
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Learning Web Advice please
Hi,
I will be doing php next semester in University, however currently I cannot build a website (They taught me dreamweaver last year and not web I was not impressed) During the break I am on I have time to study, so would it be best to study up on HTLM, CSS, Javascript etc or should i go straight into php? Kind Regards, DT.
__________________
If someone has helped you remember to + Rep them (: |
|
|
|
|
|
#2 |
|
(A shrewd and knavish sprite)
Join Date: Mar 2002
Location: Portsmouth, England
Posts: 884
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
I'd spend some time with HTML, it's where it all starts. It really is a very quick language to pickup, and tbh quite enjoyable. Run a small webserver on you pc so you can make a small interactive site and just get stuck in with notepad as your editor.
It won't take you long to pick up the basics, then have a play with some css to understand how to form some style, then maybe a bit of js. That's the route I learnt php, not that I use it much now, but I do still use the HTML and CSS.
__________________
If you can't shoot it, drive it, or sleep with it, it ain't worth your time. www.pukit.com |
|
|
|
|
|
#3 |
|
I *am* the guy with two left hands
Join Date: Aug 2008
Location: Bratislava, Slovakia
Posts: 4,574
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Learn HTML basics (so you will know what to expect), learn the limitations of the stateless HTTP protocol, what are the headers and cookies; then learn PHP. In meantime, you will slowly pick up the basics of CSS and Javascript, as you will search for specific visual design solutions.
__________________
Cerberus Core i7-2600K Asus P8Z77-I Deluxe GSkill RipjawsX 2x8GB DDR3-1600CL9 watercooled EVGA GTX670 Samsung 830 256GB Bitfenix Prodigy Seasonic X-460 Windows 8 Pro Prometheus Xeon E3-1235 Asus P8B WS GSkill RipjawsX 2x4GB DDR3-1333CL7+2x8GB DDR3-1333CL9 Coolink Corator DS Force 3 240GB+4xWD30EFRX+2xWD20EARS+6xWD20EARX Nanoxia DS1 Seasonic X-460 Ubuntu 12.04 |
|
|
|
|
|
#4 |
|
PAM says no...
Join Date: Jun 2010
Location: ::1
Posts: 1,291
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
PHP is a server-side scripting language to output HTML, so you will need to learn HTML first. w3schools can take you through the basics, and I find it to be a very good reference for HTML. Once you have got the hang of HTML you probably want to go towards CSS - styles for your website. w3schools is also a good place for that. Just remember that the structure of your website is created in HTML, while the look is created in CSS. Try not to mix the two together as much as possible.
Once you have a good feel for these languages you can go down one of two paths first - server-side scripting or client-side scripting. For server-side you have already expressed an interest in PHP - that would be an ideal route to go down. For client-side you could try JavaScript. It is probably best to do server-side scripting first, because a website should not really depend on JavaScript to make it work, and should instead use JavaScript to provide fancy effects or ease of use. w3schools has good tutorials on both of these, but you may want to invest in a book of some kind since they are both more complex languages. Of course, once you have mastered both of those languages you can look into combining the two in AJAX (Asynchronous JavaScript and XML). This isn't really a language as such but rather a programming paradigm, where the browser uses JavaScript to pull information down from a server without reloading the page. An example of this is Google Autocomplete - each keypress sends a message to the Google servers to retrieve common search phrases matching what you typed in - the whole page doesn't refresh when you do this, but it still pulls down information.
__________________
The Linux Schools Project |
|
|
|
|
|
#5 |
|
System Support Specialist
Join Date: Apr 2010
Location: United Kingdom
Posts: 1,215
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Thanks guys, so its HTML, CSS, PHP then Javascript
+ rep to all
__________________
If someone has helped you remember to + Rep them (: |
|
|
|
|
|
#6 |
|
I *am* a Dremel
Join Date: Oct 2009
Posts: 1,948
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
For a good base I would start with HTML and CSS. This should keep you going for a few weeks.
Don't worry about PHP until your lectures start. Follow their course material and you shouldn't ahve much problems. Though when i went through Uni knowing HTML and CSS was almost a pre-requisite to PHP. I would recommend downloading LAMPP or XAMPP for testing, as these are great for development on a localhost. Javascript, leave this until you have time to play with it. While it shares a lot of syntacs as PHP it will only confuse you at this point. |
|
|
|
|
|
#7 |
|
Hypermodder
Join Date: Sep 2010
Location: Hawaii
Posts: 848
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
I was about to recommend you do javascript before PHP, but thinking about it more, you really don't need to. When you learn javascript, one of the things you should learn as well is jQuery since it's a fairly widely used library that can come in handy for you later.
When you're learning CSS, and you want to try out something that is pretty fun, look up SASS, configure it, and give it a try. It's a rather cool CSS front end that adds a lot of features to the otherwise bare language.
__________________
"I have lived on the lip of insanity, wanting to know reasons, knocking on a door. It opens. I've been knocking from the inside." -- Rumi |
|
|
|
|
|
#8 | |
|
Ultramodder
Join Date: Sep 2009
Posts: 1,342
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Quote:
You'll pick up HTML and CSS very fast... It's v.simple. even things like CSS menus are super simple and that is when query becomes fun.
__________________
3570k WC @ 4.7giggles | 8gb Kingston 2133mhz | ASUS Sabertooth Z77 | 7950w/boost WC | Seasonic x-660w | NZXT 810 switch | Crucial M4 128gb | 2x F3 1tb Raid 1 | NZXT Sentry 6ch 50w fan controller | Cheap LG IPS
|
|
|
|
|
|
|
#9 |
|
goodateverthinger
Join Date: Dec 2009
Location: EX6
Posts: 370
![]() ![]() ![]() |
As above HTML first, CSS then look at PHP.
W3schools for me years ago provided good learning. http://www.w3schools.com/ |
|
|
|
|
|
#10 | |
|
Cuppa tea anyone?
Join Date: Sep 2009
Posts: 714
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Quote:
__________________
WoT Profile E8400@4.0GHz~T Power I45~MSI N560GTX Ti~OCZ Reaper PC2-8500 1066Mhz 4GB~Vertex 2E 90Gb~F3 1TB~Corsair HX650~Xonar DX~Titan Fenrir |
|
|
|
|
|
|
#11 |
|
Banned
Join Date: Oct 2012
Location: USA
Posts: 7
![]() |
First learn Client side programming (html,css and javascript) before learning Server side progamming(php).
|
|
|
|
|
|
#12 |
|
Software Dev
Join Date: Jun 2008
Location: Windhoek, Namibia
Posts: 5,532
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
three links to w3schools and no one going "w3fools" yet? I am enjoying this.
Without HTML, PHP is rather limited in use. Without CSS, HTML is crap... HTML->CSS->PHP->JavaScript, as iterated over a million times before. |
|
|
|
![]() |
| Thread Tools | |
|
|