Feeds
The Register Columnists

Deepak Vohra

Contact Mail Follow RSS feed
The Register breaking news

Get your PHP on the right Trax

Hands on Ruby on Rails has become a popular framework for developing database-based web applications using the Model-View-Controller (MVC) pattern. Before Ruby on Rails, though, PHP was hogging the web-development limelight. Problem was, there was no Model-View-Controller (MVC) framework for PHP. With Ruby on Rails, though, PHP …
Deepak Vohra, 24 Sep 2008
The Register breaking news

Harness XML with PHP 5 extensions

Hands on PHP is one of the most commonly used languages for developing web sites while XML has become an industry standard for exchanging data. Increasingly, web sites use XML to transfer data through web feeds such as RSS and Atom, or through web services. PHP 5 XML extensions provide support for parsing, transformation, XPath …
Deepak Vohra, 15 Aug 2008
Warning: roadworks

Spread your database connections with PHP PDO

PHP is one of the most commonly used scripting languages on the web - about 35 per cent of websites use PHP. Databases, meanwhile, are undergoing something of a renaissance thanks to web development. Often one database is used during the development stage of a web application and another database is used in production - MySQL …
Deepak Vohra, 24 Apr 2008
Zend

Put some MVC in your PHP

Hands on The Model-View-Controller (MVC) architecture provides a useful three-tier pattern for building software, as MVC patterns decouple the graphical user interface (GUI) from the application logic. That comes in useful when it comes to changing an application after it has been deployed. Separation of the views from the data means …
Deepak Vohra, 22 Feb 2008
channel

Build a directory service for web-based services

Hands on A directory service is an application that lets you store, retrieve and modify information about network-attached resources such as users. If you want to keep a directory of company employees, for example, you would use a directory service instead of storing that information directly in a database. A directory service is …
Deepak Vohra, 18 Feb 2008
Yahoo

Streamline your search with Yahoo! Web Services and AJAX

Hands on Despite what you might read and hear about Google's web dominance, this is not Google-owned world. Yahoo! may be playing second fiddle to the internet's favorite search and ads service, but it still plays one hell of a tune in terms of numbers of users and the services it offers. If you use Yahoo! for your web search, then Yahoo …
Deepak Vohra, 29 Jan 2008
PHP

Build your PDF and Excel reports with PHP

Hands on The Portable Document Format (PDF) and Microsoft's Excel spreadsheet are commonly used for presentation of reports and data. PHP, meanwhile, has become one of the most commonly used scripting languages on the web today, with 35 per cent of web sites running PHP. The TIOBE index of programming languages also indicates an …
Deepak Vohra, 10 Dec 2007
Warning: roadworks

Xajax and PHP: JavaScript without the pain

Hands on When it comes to Web 2.0, PHP’s seen it all before. Birthed before the last great internet boom, PHP has matured and is now one of a triumvirate of languages synonymous with today’s craze for building web sites and online services with Linux and MySQL. While it shares LAMP honors with Perl and Python, though, PHP has become the …
Deepak Vohra, 20 Nov 2007
The Register breaking news

Build business-ready XML Schema with JDeveloper

If XML is being used increasingly to describe business actions, then XML Schema is becoming the language that enables companies to actually communicate clearly with, and to understand, each other. While XML has become the standard medium for exchanging data, it's XML Schema that defines the structure, content and semantics of …
Deepak Vohra, 01 Oct 2007
The Register breaking news

Retrieving RSS/Atom Feeds with the Google AJAX Feed API

Keeping up to date with updates to different news websites can be a major burden – which can be ameliorated with an RSS feed. With an RSS feed, the updates are pushed to you as they become available. RSS is a collection of web feed formats, specified in XML and used to provide frequently updated digital content to users. The …
Deepak Vohra, 07 Sep 2007
The Register breaking news

An embedded XML Database: Oracle Berkeley DB XML

Tutorial Storing an XML document in a relational database has its limitations. XML’s hierarchical structures do not map well to relational database structures. That’s where an embeddable (non-relational) XML database has advantages over a relational database. Oracle database (since Oracle 9i database R2) provides the Oracle XML DB …
Deepak Vohra, 18 Jul 2007
Google

Google Search with Ajax

We’ve all used Google to search the web. What if we could add Ajax to the web search operation? Google Ajax Search API does just that – could this facilitate searching? Ajax is a web technique which refreshes content on a web page without reposting the web page and the Google Ajax Search API provides a search control and …
Deepak Vohra, 24 Jun 2007
The Register breaking news

Creating a Portlet from a JSF Application with WebCenter

A portal is a web application that aggregates a collection of web applications (portlets) running on a page in separate windows. A portlet is a web component (application) that runs in a portlet container, processes requests and generates dynamic content. Portlets are the pluggable user interface components in a portal page. …
Deepak Vohra, 21 Apr 2007
The Register breaking news

Ajax on Rails

In an earlier tutorial we discussed Ruby on Rails. Ajax is an XMLHttpRequest-based web technique that you can use to transfer data between a client application and a web server, and which lets you update sections of the web page without reloading it. Rails supports Ajax functions where a XMLHttpRequest request may be sent to a …
Deepak Vohra, 15 Jan 2007
The Register breaking news

Using Ajax with Prototype

Tutorial: In the Introduction to Developing Web Applications with Ajax article we discussed the procedure used to create an Ajax application. As a developer, you probably noticed that the client JSP included a lot of JavaScript. Prototype is a JavaScript library for developing dynamic web applications, which aims to replace much of the …
Deepak Vohra, 17 Dec 2006
The Register breaking news

Creating a Report with JasperReports

Preparing presentation-quality reports is an everyday occurrence, so any tool that makes the job easier is worth a look. For developers working with Java, one such is JasperSoft’s JasperReports, which is capable of producing a range of outputs, including HTML, PDF, Excel XLS, CSV and XML file formats. The tool can build dynamic …
Deepak Vohra, 24 Oct 2006
The Register breaking news

A practical guide to JAXB 2.0

JSR222 specifies the Java Architecture for XML Binding (JAXB) 2.0. JAXB 2.0 specification is implemented in Java Web Services Developer Pack (JWSDP) 2.0. JAXB 2.0 has some new features that facilitate the marshalling and unmarshalling of an XML document. I have used both JAXB 1.0 and JAXB 2.0 and have found that JAXB 2.0 …
Deepak Vohra, 22 Sep 2006
The Register breaking news

Accessing DB2 UDB with PHP (Part 2)

Tutorial As mentioned in the previous tutorial on PHP/DB2, PHP is widely used in web applications and most web applications have a database component. The PHP extension for DB2 database provides access to one particular widely-used database from a PHP script. In this part of the tutorial, we shall install the DB2 extension, install the …
Deepak Vohra, 09 Aug 2006
The Register breaking news

Accessing DB2 UDB with PHP

Tutorial A PHP: Hypertext Processor (PHP) script may be embedded in an HTML page; or run as a .php script in a web server such as Apache web server. PHP statements are included in <?php ?> tags. PHP 5.1.4 is the latest version of PHP and includes extensions for various databases; the PHP extension for DB2 UDB is available in the …
Deepak Vohra, 07 Aug 2006
The Register breaking news

Ruby on Rails Part 2

Tutorial In the previous introductory Ruby on Rails article, we created an Oracle database table. In this article we shall develop a Model-View-Controller (MVC) CRUD (Create, Read, Update, and Delete functionality) application using Ruby on Rails. Rails is a combination of the following sub-projects… Model: Active Record is an object …
Deepak Vohra, 17 Jul 2006
The Register breaking news

Ruby on Rails

Tutorial Ruby is an object oriented scripting language. Rails is a Model-View-Controller (MVC) framework based on Ruby and used for developing web applications. An advantage of Ruby on Rails over J2EE is that it requires less code and doesn’t require any configuration files, except for a database configuration file. A Ruby on Rails web …
Deepak Vohra, 03 Jul 2006
The Register breaking news

Introduction to Developing Web Applications with AJAX - Part 2

Tutorial Suppose you fill out a form that requires a unique field value, for example a userid in a registration form. Ordinarily, you would specify a userid value and the other field values and submit the form with the Submit button. If the userid is not already taken you would be able to register, but if the userid is taken you would …
Deepak Vohra, 20 Jun 2006
The Register breaking news

Introduction to Developing Web Applications with AJAX - Part 1

How often have you found yourself filling out a web form requiring umpteen fields to be specified which, when you submit the form, returns the message, “Invalid input” or “Field value not valid”? Asynchronous JavaScript And XML (AJAX) provides a method for the completion and validation of web forms. It’s a web technique for …
Deepak Vohra, 09 Jun 2006
The Register breaking news

Migrating EJB 2.1 Entity and Session Beans to EJB 3.0

In this tutorial, migration of EJB 2.1 specification EJBs to EJB 3.0 specification is discussed. EJB 3.0 Session and Entity beans require JDK 5.0 as metadata annotations are used in the specification. The EJB 2.1 specification is implemented in the javax.ejb package classes and interfaces. A session bean is required to …
Deepak Vohra, 25 Apr 2006