Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming

Reply
 
LinkBack Thread Tools
Old 10-12-09   #1 (permalink)
New to Overclock.net
 
amd nvidia

Join Date: Sep 2009
Location: Tucson AZ
Posts: 293

Rep: 12 PCCstudent Unknown
Unique Rep: 11
Trader Rating: 1
Default Working with HTML

While waiting for Dreaweaver to get here I decided I would check out a few books on writing HTML code. Its OK if you follow the instructions your pages display just as they should,but I have a little problem.

I am using Apache and XP, I can view my indexpage and I can view all pages I created and put into the htdocs folder but I cant move from page to page within the web site,must be something I am overlooking but I don't see any mention of how to enable this function,any help? I am working on it.
__________________
System: WC Rig
CPU
955 BE
Motherboard
ASUS M4A79T Deluxe
Memory
SuperTalent DDR3 1333 Dual Channel
Graphics Card
XFX GeForce 275 896mb
Hard Drive
WD 150gb Raptor
Sound Card
none
Power Supply
Corsair Modular 1000W
Case
Antec 1200
CPU cooling
AC350 from Koolance
GPU cooling
on air
OS
I have every MS OS but now it Win 7 64-bit
Monitor
Acer 22"
PCCstudent is offline   Reply With Quote
Old 10-12-09   #2 (permalink)
4.0 GHz
 
dharmaBum's Avatar
 
intel nvidia

Join Date: Apr 2007
Location: Raleigh, NC
Posts: 747

Rep: 121 dharmaBum is acknowledged by manydharmaBum is acknowledged by many
Unique Rep: 89
Trader Rating: 0
Default

Quote:
<a href="page.html">I am a link</a>
Doesn't work?
__________________
3DMark06: 19091 - 3DMark Vantage: P15264 - SuperPi: 10.968s

Programming Quote of the Day:
Bjarne Stroustrup:
Quote:
There are only two industries that refer to their customers as ‘users’.

System: Europa
CPU
E8500 4.36ghz @ 1.36v
Motherboard
EVGA 780i SLi P05 Bios
Memory
G.SKILL 4GB(2x2GB) @ 924MHz (5-4-4-12-2T)
Graphics Card
2xEVGA 8800GTS (G92) 512MB @800/2000/2110
Hard Drive
Seagate 500gbx2, (fake-)RAID0
Sound Card
Sound Blaster X-Fi XtremeGamer
Power Supply
CORSAIR 1000HX 1000W
Case
Gigabyte GZ-FA2CA-AJB Black Aluminum
CPU cooling
TDX 775 Block, 360 BlackIce rad
GPU cooling
MAZE5x2, TT copper HS
OS
Fedora10-86_64/Vista64
Monitor
22" Samsung SyncMaster 2232BW
dharmaBum is offline   Reply With Quote
Old 10-12-09   #3 (permalink)
Linux Lobbyist
 
hybrid-kernel's Avatar
 
amd nvidia

Join Date: Jun 2008
Posts: 250

Rep: 35 hybrid-kernel is acknowledged by some
Unique Rep: 32
Trader Rating: 0
Default

fyi, you don't need a server just to view local html files.

are you using relative links?

you don't need books for html, its too simple. online guides are more than enough
__________________
~Linux Enthusiast
Don't click here, I mean it. You've been warned.

System: Fission
CPU
Athlon 64 x2 4200+ @ 2.8Ghz (255 x 11)
Motherboard
Asus M2A-VM
Memory
4gb (Kingston 4x 1gb)
Graphics Card
XFX 8800gt 512mb (725/1900)
Hard Drive
250gb WD + 500gb ext
Power Supply
450w
CPU cooling
Stock
GPU cooling
Stock (Zalman)
OS
Sidux Ουρανός amd64
Monitor
Samsung Syncmaster 216BW
hybrid-kernel is offline hybrid-kernel's Gallery   Reply With Quote
Old 10-12-09   #4 (permalink)
New to Overclock.net
 
amd nvidia

Join Date: Sep 2009
Location: Tucson AZ
Posts: 293

Rep: 12 PCCstudent Unknown
Unique Rep: 11
Trader Rating: 1
Default

I will insert the supplied code and see how it goes. As of now this code is not present in any form in any place.

Don't know how to apply the"not needing server" info but will look at what my text mentions about "realitive links" Thanks to all this is just for fun,not stressing at all

OK all is well I just needed to read a little further <a href=></a> is the building block
__________________
System: WC Rig
CPU
955 BE
Motherboard
ASUS M4A79T Deluxe
Memory
SuperTalent DDR3 1333 Dual Channel
Graphics Card
XFX GeForce 275 896mb
Hard Drive
WD 150gb Raptor
Sound Card
none
Power Supply
Corsair Modular 1000W
Case
Antec 1200
CPU cooling
AC350 from Koolance
GPU cooling
on air
OS
I have every MS OS but now it Win 7 64-bit
Monitor
Acer 22"

Last edited by PCCstudent : 10-12-09 at 05:37 PM
PCCstudent is offline   Reply With Quote
Old 10-12-09   #5 (permalink)
Linux Lobbyist
 
hybrid-kernel's Avatar
 
amd nvidia

Join Date: Jun 2008
Posts: 250

Rep: 35 hybrid-kernel is acknowledged by some
Unique Rep: 32
Trader Rating: 0
Default

you don't need a server, as in, in your browser just do file > open file and open your html document. since everything is clientside, you don't need a server to 'serve' the files locally.

by relative I mean, you can have a link that leads to foo.html, meaning that the file is in the same directory as the one you are linking from. if you link to http://example.com/foo.html, it doesn't matter where you are linking from, as its the absolute path. the disadvantage is that if you change domains, you will have to change example.com in all your files.
__________________
~Linux Enthusiast
Don't click here, I mean it. You've been warned.

System: Fission
CPU
Athlon 64 x2 4200+ @ 2.8Ghz (255 x 11)
Motherboard
Asus M2A-VM
Memory
4gb (Kingston 4x 1gb)
Graphics Card
XFX 8800gt 512mb (725/1900)
Hard Drive
250gb WD + 500gb ext
Power Supply
450w
CPU cooling
Stock
GPU cooling
Stock (Zalman)
OS
Sidux Ουρανός amd64
Monitor
Samsung Syncmaster 216BW
hybrid-kernel is offline hybrid-kernel's Gallery   Reply With Quote
Old 10-12-09   #6 (permalink)
New to Overclock.net
 
amd nvidia

Join Date: Sep 2009
Location: Tucson AZ
Posts: 293

Rep: 12 PCCstudent Unknown
Unique Rep: 11
Trader Rating: 1
Default

OK your instructions are in my "try it like this" file. I did get two great (well I think they are great) HTML books from the library. Path work is challenging for me but I don't give up but it s**** to have to work so hard.

Setting up my Untangle box has me weak kneeded, but its something else I want to master.

I really want to hit modem and router setup hard next semester,kind of interesting. Some have suggested I "map" out my network for better understanding, I take it this is common (mine is so small,but it is just for educational purposes).
__________________
System: WC Rig
CPU
955 BE
Motherboard
ASUS M4A79T Deluxe
Memory
SuperTalent DDR3 1333 Dual Channel
Graphics Card
XFX GeForce 275 896mb
Hard Drive
WD 150gb Raptor
Sound Card
none
Power Supply
Corsair Modular 1000W
Case
Antec 1200
CPU cooling
AC350 from Koolance
GPU cooling
on air
OS
I have every MS OS but now it Win 7 64-bit
Monitor
Acer 22"
PCCstudent is offline   Reply With Quote
Old 10-12-09   #7 (permalink)
Linux Lobbyist
 
hybrid-kernel's Avatar
 
amd nvidia

Join Date: Jun 2008
Posts: 250

Rep: 35 hybrid-kernel is acknowledged by some
Unique Rep: 32
Trader Rating: 0
Default

From the first post I assumed you bought books, which would have been a waste of money. Getting from the library is ok though.

By map I assume you means something like

Code:
{Internet}----(Modem)----(Wireless Router)~~~~~[Laptop 1]
                          |  |  |  ~  ~  ~
          [Basement Server]  |  |  ~  ~  [Main Desktop]
                             |  |  ~  ~
           [Secondary Desktop]  |  ~  [Phone]
                                |  ~
                       [Laptop 2]  [Netbook]
My lan setup ^ (--- means wired, ~~~ means wireless)
__________________
~Linux Enthusiast
Don't click here, I mean it. You've been warned.

System: Fission
CPU
Athlon 64 x2 4200+ @ 2.8Ghz (255 x 11)
Motherboard
Asus M2A-VM
Memory
4gb (Kingston 4x 1gb)
Graphics Card
XFX 8800gt 512mb (725/1900)
Hard Drive
250gb WD + 500gb ext
Power Supply
450w
CPU cooling
Stock
GPU cooling
Stock (Zalman)
OS
Sidux Ουρανός amd64
Monitor
Samsung Syncmaster 216BW
hybrid-kernel is offline hybrid-kernel's Gallery   Reply With Quote
Old 10-12-09   #8 (permalink)
Overclocker
 
EmerilLIVE's Avatar
 
intel nvidia

Join Date: Aug 2007
Location: Georgia
Posts: 579

Rep: 59 EmerilLIVE is acknowledged by some
Unique Rep: 52
Trader Rating: 3
Default

Quote:
Originally Posted by PCCstudent View Post
While waiting for Dreaweaver to get here I decided I would check out a few books on writing HTML code. Its OK if you follow the instructions your pages display just as they should,but I have a little problem.

I am using Apache and XP, I can view my indexpage and I can view all pages I created and put into the htdocs folder but I cant move from page to page within the web site,must be something I am overlooking but I don't see any mention of how to enable this function,any help? I am working on it.
Honestly if you are going to be doing web development seriously Dreamweaver is unnecessary IMO. You need to learn to write the code and write it correctly. I suggest you download notepad++, it will highlight the syntax of HTML, XHTML, CSS, PHP, ect.

When it comes to learning to write the code books are not necessary as information is readily available on the web. If you want to go with a book I recommend Head First HTML with XHTML & CSS.

I recommend you go to the world wide web consortium's website, they set the standards for www, where many tutorials are available. You should always test your code with the W3C's validators to ensure it's up to snuff. W3 Schools also has some good tutorials and references.

Once you've got the gist of HTML, XHTML, and CSS you should move on to tackling Javascript, which has nothing to do with Java. Javascript is Client-side programming which means it is executed on the computer the web page is being viewed on. The purpose of programming as opposed to HTML is to create dynamic, interactive content which is crucial to creating pages which are more than just informative.

Beyond Javascript is PHP, ASP.net, Ruby on Rails, and several other options for Server-side programming, which means it is executed on the web server the web page is served from. Server-side programming as opposed to Client-side programming is used for several reasons, such as security. Since the code of Server-side programming is never exposed to the client, only the result of it's execution, it cannot be altered by the client or changed in-route to the client. You should always consider which is more efficient for a particular task in deciding whether to program it Client-side or Server-side.

Server side programming languages can interact with databases such as Microsoft SQL, Oracle, and MySQL, databases can be used to greatly improve the dynamic and interactive content of your web pages. They can maintain records of a user such as their preferences and prior activities. They can maintain inventory numbers and pricing data for an e-commerce site. The possibilities are practically endless.

I hope my post is helpful to you and I hope it didn't ramble on too long. You may choose to use Dreamweaver in the end but I sincerely hope that you will take the time to learn some of the underlying code so that you can better understand "how" it works. As with any programming practice is the key, you will make mistakes and you will be better for them. Good Luck!

System: BAM!
CPU
i7 920 @ 4Ghz
Motherboard
EVGA x58
Memory
6 GB OCZ
Graphics Card
EVGA GTX 260 core 216 SLI
Hard Drive
Intel X25-M & RAID 5 500GB 7200.12's
Power Supply
Corsair TX750w
Case
LianLi Rocketfish
CPU cooling
TRUE w/ Panaflo's
OS
Windows 7 RC1 x64
Monitor
Soyo 24" LCD
EmerilLIVE is offline   Reply With Quote
Old 10-12-09   #9 (permalink)
New to Overclock.net
 
amd nvidia

Join Date: Sep 2009
Location: Tucson AZ
Posts: 293

Rep: 12 PCCstudent Unknown
Unique Rep: 11
Trader Rating: 1
Default

No not at all rambling in fact every bit of information from both Emril and Hybrid is like gold when I comes to piecing together just what is going on today with web design. I find it necessary to pick a section of the IT industry and concentrate on it, and I even like web design.

I just don't think I have it in me to be a system administrator (even if I could rise to that level) I am just not the corporate type. Now web design, I could get into that. I conclude lots of competition though?

Hybrid, on your network map where would a Untangle box be placed? I imagine the very first thing.
__________________
System: WC Rig
CPU
955 BE
Motherboard
ASUS M4A79T Deluxe
Memory
SuperTalent DDR3 1333 Dual Channel
Graphics Card
XFX GeForce 275 896mb
Hard Drive
WD 150gb Raptor
Sound Card
none
Power Supply
Corsair Modular 1000W
Case
Antec 1200
CPU cooling
AC350 from Koolance
GPU cooling
on air
OS
I have every MS OS but now it Win 7 64-bit
Monitor
Acer 22"

Last edited by PCCstudent : 10-12-09 at 10:24 PM Reason: question for hybrid
PCCstudent is offline   Reply With Quote
Old 10-12-09   #10 (permalink)
Linux Lobbyist
 
hybrid-kernel's Avatar
 
amd nvidia

Join Date: Jun 2008
Posts: 250

Rep: 35 hybrid-kernel is acknowledged by some
Unique Rep: 32
Trader Rating: 0
Default

Quote:
Originally Posted by EmerilLIVE View Post
Server side programming languages can interact with databases such as Microsoft SQL, Oracle, and MySQL, databases can be used to greatly improve the dynamic and interactive content of your web pages
technically client side can too, with the help of server side (ie, ajax).

Quote:
Originally Posted by PCCstudent View Post
Now web design, I could get into that.
If you are going into web design, dreamweaver (as stated above) is simply not an option. generated code is usually terribly inefficient, cumbersome, ugly and generally bad. I believe that the way "professionals" do it these days is do a design in photoshop, then create the html/css for it manually. at least that's how I always do it.

Quote:
Originally Posted by PCCstudent View Post
Hybrid, on your network map where would a Untangle box be placed? I imagine the very first thing.
Based on what I understood from wiki, it would go in place of the router.
__________________
~Linux Enthusiast
Don't click here, I mean it. You've been warned.

System: Fission
CPU
Athlon 64 x2 4200+ @ 2.8Ghz (255 x 11)
Motherboard
Asus M2A-VM
Memory
4gb (Kingston 4x 1gb)
Graphics Card
XFX 8800gt 512mb (725/1900)
Hard Drive
250gb WD + 500gb ext
Power Supply
450w
CPU cooling
Stock
GPU cooling
Stock (Zalman)
OS
Sidux Ουρανός amd64
Monitor
Samsung Syncmaster 216BW
hybrid-kernel is offline hybrid-kernel's Gallery   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -5. The time now is 10:14 AM.


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2009 Shogun Interactive Development. Most rights reserved.
Page generated in 0.17710 seconds with 8 queries