Archive for the 'PHP' Category

Sinax-Framework RSS module

Coming soon in the Sinax-Framework version 0.04, the RSS module! Keeping it clean and simple is our motto. 1 2 3 4 5 6 <?php include("sx/rss.inc.php’");   $r = new SXRSSChannel("Sinax RSS 1", "First Sinax RSS Feed", "http://www.sinax.be/rss/"); $r->addItem(new SXRSSItem("First RSS Item", "http://www.sinax.be/firstrssitem/", "My First RSS item", "Michael Anckaert", "2010-05-11")); $r->render();

Sinax-Framework ORM with SXModel

I’ve just uploaded some new work on Sinax-Framework ORM and a new sample for the SXModel class. Defining a model that maps to a database table is fairly straightforward. Simply subclass the SXModel class (or work on an instance) and map the properties of the model to the fields of the database.

SXForm sample

The forms component of the Sinax-Framework is designed to facilitate working with forms and fields. Below is a sample that you can also find in the Sinax-Framework source tree. It creates a simple form containing three fields, two regular SXTextField and one SXEmailField.

Designed by Structured Settlement | Download from Wordpress templates | Music text | Cheap domain