Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > HTML > BOOK: Beginning HTML, XHTML, CSS, and JavaScript
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning HTML, XHTML, CSS, and JavaScript
This is the forum to discuss the Wrox book Beginning HTML, XHTML, CSS, and JavaScript by Jon Duckett; ISBN: 978-0-470-54070-1
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning HTML, XHTML, CSS, and JavaScript section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 27th, 2013, 04:05 AM
Registered User
Points: 18, Level: 1
Points: 18, Level: 1 Points: 18, Level: 1 Points: 18, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2013
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default What do you do with these .aspx things?

In this chapter 5 it talks about setting up forms and what not, all of them involve this link with a .aspx at the end of it.

1. This chapter doesn't even freaking talk about what a .aspx file is

2. Do you expect me to already have enough money for a domain and hosting? What am I supposed to do when you say "example.org/example.aspx"

3. It is impossible to make forms, because you don't explain how you make a .aspx and how to use it. So every time I press submit or done on any of my forms, it sends me to an "Invalid Directory" page.
Reply With Quote
  #2 (permalink)  
Old January 27th, 2013, 11:05 AM
Authorized User
Points: 105, Level: 2
Points: 105, Level: 2 Points: 105, Level: 2 Points: 105, Level: 2
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2010
Posts: 19
Thanks: 0
Thanked 4 Times in 4 Posts
Default

Quote:
1. This chapter doesn't even freaking talk about what a .aspx file is
When a user has filled in a form, and presses submit, the information is sent to a web server. The server then uses a programming language to process the data the user entered in the form.

Languages typically used on the server include ASP.Net, PHP, Ruby, Java etc... ASP.Net files end with the .aspx file extension, php files end with the .php extension etc.


Quote:
2. Do you expect me to already have enough money for a domain and hosting? What am I supposed to do when you say "example.org/example.aspx"
example.org is a domain name that was reserved for use in examples / samples that talk about code.

The action attribute of a form element indicates where the data from the form is sent to, so these code samples from that chapter are being sent to a fictional "example" server.

You can run HTML/XHTML files on your own machine without hosting, but if you want to run server-side code, then you would either need to purchase hosting OR you could setup a server on your desktop/laptop (but you can probably wait to do that until you get onto learning server-side code).



Quote:
3. It is impossible to make forms, because you don't explain how you make a .aspx and how to use it. So every time I press submit or done on any of my forms, it sends me to an "Invalid Directory" page.
You can create the forms using this chapter. What it does not teach you is how to deal with the information that users have entered into the forms.

On the opening page of that chapter, it does explain that XHTML (and therefore also HTML) are only helpful to create the form to show the user - they do not help you process the data that the user has entered, and that you need to learn a server-side language in order to make use of the form data.

The wide variety of things you can do with the data from a form (and it wouldn't easily fit in a chapter or two of a book like this), so once you are familiar with HTML & CSS, you could take up ASP.net / PHP / Ruby / Java / Node.js to learn more about that.

Hope that helps!
Reply With Quote
  #3 (permalink)  
Old January 27th, 2013, 06:06 PM
Registered User
Points: 18, Level: 1
Points: 18, Level: 1 Points: 18, Level: 1 Points: 18, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2013
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by bitnap View Post
When a user has filled in a form, and presses submit, the information is sent to a web server. The server then uses a programming language to process the data the user entered in the form.

Languages typically used on the server include ASP.Net, PHP, Ruby, Java etc... ASP.Net files end with the .aspx file extension, php files end with the .php extension etc.




example.org is a domain name that was reserved for use in examples / samples that talk about code.

The action attribute of a form element indicates where the data from the form is sent to, so these code samples from that chapter are being sent to a fictional "example" server.

You can run HTML/XHTML files on your own machine without hosting, but if you want to run server-side code, then you would either need to purchase hosting OR you could setup a server on your desktop/laptop (but you can probably wait to do that until you get onto learning server-side code).





You can create the forms using this chapter. What it does not teach you is how to deal with the information that users have entered into the forms.

On the opening page of that chapter, it does explain that XHTML (and therefore also HTML) are only helpful to create the form to show the user - they do not help you process the data that the user has entered, and that you need to learn a server-side language in order to make use of the form data.

The wide variety of things you can do with the data from a form (and it wouldn't easily fit in a chapter or two of a book like this), so once you are familiar with HTML & CSS, you could take up ASP.net / PHP / Ruby / Java / Node.js to learn more about that.

Hope that helps!
Thank you for helping me, that sucks that I need to take up a whole new language just to do that.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
The important things in life selfhelphouse BOOK: Ruby on Rails for Microsoft Developers 0 June 12th, 2010 07:49 PM
Many things in cart not working ultraman BOOK: PHP and MySQL: Create-Modify-Reuse ISBN: 978-0-470-19242-9 1 April 2nd, 2009 12:42 PM
Code generator and some other things Hyzac BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 13 October 9th, 2006 02:06 PM
Other things to try Martyn JSP Basics 0 August 29th, 2003 09:44 AM
Things that bug you about ASP David Cameron Classic ASP Professional 4 July 13th, 2003 09:13 PM



All times are GMT -4. The time now is 06:46 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.