Web Services

View:  
Sorted by:  

Exploring Database Design Tips

One of the most important aspects of any application-development project is the database design. And so, without further ado, here are some tips for designing good databases. [more…]

Using Layered Architectures in ASP.NET

One approach to designing Web applications is to focus on clearly defined layers of the application's architecture. This approach is similar to the way an architect designs a building. If you've ever seen [more…]

Designing the User Interface (and More Layers) in ASP.NET

Much of the success of any Web application depends on the quality of its user interface. As far as end-users are concerned, the user interface is the application: Users aren't interested in the details [more…]

Ruby on Rails Keywords

If you’re using Ruby on Rails to create your Web site or database, you need to know the keywords Ruby uses. Fortunately, you have access to the following table, which lists Ruby’s keywords: [more…]

Naming Conventions for Ruby on Rails

You’re using Ruby on Rails to create a Web application or Web database app, which is very smart of you. Depending on what you’re working with — an application, a one-to-many relationship, or a many-to-many [more…]

Ruby on Rails Validation Helpers

When you create a Web site or Web application with Ruby on Rails, you need to make sure that you input data in a form that Rails recognizes and can use. The following table contains Rails validation helpers [more…]

Useful Iterators and Methods for Ruby on Rails

When you want to travel through the items in a database you created with Ruby on Rails, knowing the iterators to use is key. The following table shows helpful iterators and methods: [more…]

How to Create a Validation Function for a Web Page Form

The filter_var function goes a long way toward providing automated validation for common form elements. If you start working with forms, you'll find that you need to validate the same things over and over [more…]

How to Return the Date from a Web Service

A simple way to get your feet wet with web services is to return a date in JSON format. Here's how you can do that: [more…]

How to Return Web Service Data from a Database

A frequent use of web services is to retrieve information from a database. Here, you look at returning simple data from a database. You will use a database that marks whether or not a certain website is [more…]

Accept Input to a Web Service

You can add the capability for your web services to accept input and then react based on that input, much like you'd do for a web form. For example, you might accept input to the [more…]

How to Query with Input Data

Web services can accept input from a GET or a POST. For the purposes here, you use a GET request to accept a URL for your site status web service.

This listing shows the new [more…]

How to Return XML Results

Up until this point, you've been returning results in JSON format. Sometimes you might want to return results in XML format. You might do this because the consuming program for your web service can handle [more…]

How to Return JSON and XML

You need to choose whether you will return JSON data or XML data at programming time, and that can never change unless you reprogram the output. The world would be a better place if you could return both [more…]

How to Validate Web Forms

Form validation is the process by which you examine the data from a web form to make sure it's the correct and expected data in the right format. There are two general types of validation, client-side [more…]

How to Perform Basic JavaScript Validation

You can do som basic validation using JavaScript for a variety of input types. This first exercise sets up the HTML for the web form. Once you complete this exercise, you'll have JavaScript validation [more…]

How to Add JavaScript Validation to a Web Form

You can add JavaScript validation to a web form. If you have a form, you need to connect to the form's submit event. If you're using jQuery, doing so is really, really easy. The basic process is to check [more…]

How to Provide Feedback to Web Form Users

The general pattern for the feedback on a web form will be to highlight the field that needs attention and activate messaging for the individual field and the overall form. [more…]

How to Refine Your Web Form Validation

After you've checked your required fields and provided feedback to the user, you need to refine the validation of your web form. Prior to doing so, you should pause and look at the code you've added for [more…]

How to Validate Required Fields in a Form-Process Page

You build the PHP web form-process page in stages, starting with the basic framework and then adding more complex validation and features as you go. [more…]

How to Validate Numbers in Web Form Fields

Validating numbers in a web form can involve a regular expression, if you're expecting a certain format or number of digits, or can involve math if you're looking for certain values [more…]

How to Validate URLs and E-Mail Addresses in Web Form Fields

Truly validating an e-mail address in a web form field is a surprisingly difficult task. The standard for e-mail addresses allows for complex combinations of letters, numbers, and special characters, some [more…]

Ensure That Users' Passwords Match on Web Forms

Users who fill out a web form need to enter their password twice. It's then up to you to make sure that the passwords that a user entered are the same. Though this check occurs in the JavaScript, it also [more…]

What Is a Members-Only Website?

Many websites are secret — restricted to only authorized users — or have secret sections. Such websites require users (members) to log in before they can see the secret information. Here are some examples [more…]

How to Create a User Database for a Members-Only Website

If an application design calls for a database that stores user information, the database is the core of this application. The database is needed to store the usernames and passwords of all users allowed [more…]

Listings:1-2526-29

Sign Up for RSS Feeds

Computers & Software
Great Gadget Giveaway -- Enter to Win!

Inside Dummies.com