Search Engine Optimization Services
 
SEO Link Building Services Articles Genie Magic Web Design Contact Us Seo Tools

 

Wednesday, May 7, 2008

The advantage for programmers is that they write the code in a PHP file without having to combine the instructions with HTML. Also, if the designer changes the layout of a page the programmer doesn't have to change the code to suit the new layout since the functionalities won't change. You perform your work in your files, assign to the templates all the values needed to print on the site and go out for a beer.

The PHP file you need to include the Smarty class
require 'Smarty.class.php'. After that you instantiate the smarty with $smarty = new Smarty.

To assign a variable to the template you need to
$smarty->assign('UserName', 'Jeff Adams'). After everything is finished you call the method and to display the template $smarty->display('index.tpl').

A sample code like this (index.php) :


<php
require 'Smarty.class.php';

$smarty = new Smarty;
$smarty->assign('Username', 'Jeff Adams');
$smarty->display('index.tpl');
?>


The template (index.tpl) like this:

<html>
<
body>
Welcome {$Username}
body>
html>


Also create an array in PHP an pass it to the template:

$tmplate = array ( 'UID'=> '10', &'Name' => 'Jeff Adams', 'Address'=>'Home address');
$smarty->assign('info', $tmplate);

                                Earthlink Netscape Netvouz RawSugar Shadows Sphinn StumbleUpon Yahoo MyWeb

Friday, May 2, 2008

JAX-WS referred for Java API for XML Web Services. JAX-WS is a technology for build web services and clients that communicate using XML. Using JAX-WS developers can make message-oriented as well as RPC-oriented web services.

In JAX-WS, a web service process invocation is representing by an XML-based protocol such as SOAP. The SOAP specification defines the structure, encoding rules, and conventions for representing web service invocations and responses. These calls and responses are transmitting over the HTTP as SOAP messages.

JAX-WS API hides the complexity of forming SOAP messages from the application developer. On the server side, the developers specify the web service operation by an interface written in the Java programming language. The developer codes one or more classes to implement this web service operation. A client forms a proxy and then simply invokes methods on the proxy. With JAX-WS, the developer does not produce or parse SOAP messages. JAX-WS converts the API calls and responses to and from SOAP messages.

JAX-WS make clients and web services have more advantage because Java is platform independent language. JAX-WS is not restrictive one (i.e.,) a JAX-WS client can access the web service that is running on any platform. JAX-WS gives more flexibility because it uses W3C technologies like HTTP, SOAP, and the WSDL.

                                Earthlink Netscape Netvouz RawSugar Shadows Sphinn StumbleUpon Yahoo MyWeb

Thursday, May 1, 2008

The term AJAX referred as "Asynchronous JavaScript And XML," but is now used much more generally to cover all methods of communicating with a server using JavaScript.

Using the Ajax techniques we can submit server requests and get the information from the server to the user without the necessity of waiting for a page load. The page update without refresh was done by Javascript, PHP and XML's XMLHTTPRequest object.

Ajax
is actually a grouping of several technologies working together to offer this capability. This could include the techniques bellow,

  • Ajax offer standards-based presentation using XHTML and CSS.
  • Client, server interaction made using DOM( Document Object Model) and provide dynamic display.

  • Data interchange and manipulation was performed by XML and XSLT.
  • Asynchronous data recovery using XMLHttpRequest.

  • And make JavaScript binding with everything together.

                                Earthlink Netscape Netvouz RawSugar Shadows Sphinn StumbleUpon Yahoo MyWeb

Previous Posts & Archives
Search Our Site
Featured Links
PageRank 10 sites
Services
 Search Engine Optimization
 Web Design
 Link Building
 Search Engine Marketing
 Internet Marketing
 SEO Consulting
 Ecommerce  Implementation.
 Pay Per Click Services
 Graphic Design.
 Shopping Feeds Optimization.
 Shopping Cart Customization
 Product Development.
 Online Forms & Database       Integration.
 PHP Programming  Services
 Programming Services Java,J2EE
 .NET Application Development      Programming Services
 Business Process OutSourcing
 Offshore Outsourcing
Articles
Company

 

 

 

 

Search Engine Optimization SEO Company | Privacy Policy | Term of Service | Copyright
Search Engine Genie is an Ethical Search Engine Optimization Company Specializing in Search Engine Marketing, Search Engine Promotion and Search Engine Ranking Services.