Wrox Programmer Forums
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 27th, 2013, 04:05 AM
Registered User
 
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.
 
Old January 27th, 2013, 11:05 AM
Authorized User
 
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!
 
Old January 27th, 2013, 06:06 PM
Registered User
 
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.





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





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.