background preloader

Programming

Facebook Twitter

XSLT and Eclipse. XSLT - Extensible Stylesheet Language for Transformations - Tutorial Copyright © 2009-2015 vogella GmbH XSLT with Eclipse This articles explains how to do a XSLT transformations on the command line or via the Eclipse XSL project.

XSLT and Eclipse

XSLT allows converting XML into other formats. XSLT stands for Extensible Stylesheet Language for Transformations . For an introduction to XML please see Java and XML Tutorial . 2. Under Linux the xsltproc command line tool is available. Sudo apt-get install xsltproc 3. We start first with the simplest transformation possible; no transformation at all. Create the following XML file source.xml in the files folder . <? Create the following transform.xsl file in the files folder. To run the transformation, use the following command on the command line. xsltproc --output result.xml files/transform.xsl files/sources.xml Review the generated result.xml file.

JavaScript Tutorial - EchoEcho.Com. Session. As a website becomes more sophisticated, so must the code that backs it.

Session

When you get to a stage where your website need to pass along user data from one page to another, it might be time to start thinking about using PHP sessions. A normal HTML website will not pass data from one page to another. In other words, all information is forgotten when a new page is loaded. This makes it quite a problem for tasks like a shopping cart, which requires data(the user's selected product) to be remembered from one page to the next. A PHP session solves this problem by allowing you to store user information on the server for later use (i.e. username, shopping cart items, etc).

It is important to ponder if the sessions' temporary storage is applicable to your website. Sessions work by creating a unique identification(UID) number for each visitor and storing variables based on this ID. Before you can begin storing user information in your PHP session, you must first start the session. PHP Code: Display: Performance indicator. "Key Performance Indicator" redirects here.

Performance indicator

A performance indicator or key performance indicator (KPI) is a type of performance measurement.[1] KPIs evaluate the success of an organization or of a particular activity in which it engages. Often success is simply the repeated, periodic achievement of some levels of operational goal (e.g. zero defects, 10/10 customer satisfaction, etc.), and sometimes success is defined in terms of making progress toward strategic goals.[2] Accordingly, choosing the right KPIs relies upon a good understanding of what is important to the organization.[3] 'What is important' often depends on the department measuring the performance - e.g. the KPIs useful to finance will really differ from the KPIs assigned to sales. Since there is a need to understand well what is important, various techniques to assess the present state of the business, and its key activities, are associated with the selection of performance indicators.

Categorization of indicators[edit] Using Sessions in PHP. PHP MySQL Shopping Cart Tutorial. Queries: Create a query that returns Random records. Top 12 Free Content Management Systems (CMS) Building websites by hand with all html/css pages was fine a couple years ago, but these days there are a ton of awesome Content Management System options out there that make our jobs as developers and website publishers SO much easier!

Top 12 Free Content Management Systems (CMS)

So, What Exactly Is A Content Management System? According to Wikipedia, they describe a CMS as follows: A web content management system (WCMS or Web CMS) is a content management system (CMS) software, usually implemented as a Web application, for creating and managing HTML content. It is used to manage and control a large, dynamic collection of Web material (HTML documents and their associated images). A CMS facilitates content creation, content control, editing, and many essential Web maintenance functions. So take a moment and look over the list below of the 12 best free cms options available. And don’t forget to let us know in the comments section which is your favorite CMS and why! WordPress ↓ Joomla ↓ Drupal ↓ SilverStripe ↓ PHP for Beginners: Building Your First Simple CMS. By Jason Lengstorf On CMS, php #The Magic of PHP + MySQL It's safe to say that nearly every website that's up-to-date these days is using some form of content management system (CMS).

PHP for Beginners: Building Your First Simple CMS

While there are a ton of great free options that provide us with a CMS to power a website (WordPress, Drupal, etc.), it doesn't hurt to peek under the hood and get a feel for how these systems work. To get our feet wet as back-end developers, we'll be creating a simple PHP class that will: Create a databaseConnect to a databaseDisplay a form with two fieldsSave the form data in the databaseDisplay the saved data from the database Download Files.

So You Want to Learn Regular Expressions? Herein you will find a series of articles aimed at helping the non technical person understand what Regular Expressions are, how and when to use them and hopefully help to get into the mindset of using the darn things!

So You Want to Learn Regular Expressions?

The main focus has been on helping non technical people, mainly business and marketing, use Regular Expressions in Web Analytics tools like Google Analytics and others. All the articles to date have been based on emails between Robbin Steif from Lunametrics and myself. With a little bit of "helping the developers at work" sneaking in now and then too.