Category: Coding

In Php Creating a Table With SQLite

Create a table if it doesn't exist and inserting initial value.

<?php
if ($db = new SQLiteDatabase('filename')) {
$q = @$db->query('SELECT requests FROM tablename WHERE id = 1');
if ($q === false) {
$db->queryExec('CREATE TABLE tablename (id int, requests int, PRIMARY KEY (id)); INSERT INTO tablename VALUES (1,1)');
$hits = 1;
} else {
$result = $q->fetchSingle();
$hits = $result+1;
}
$db->queryExec("UPDATE tablename SET requests = '$hits' WHERE id = 1");
} else {
die($err);
}
?>

 

First Flash Camp in India at Chennai

The first ever Flash camp in India will be held in Chennai on 11 Dec’2010.

What is a Flash Camp?

Its a community driven event where developers, designers, UI experts, community members and business people converge. Flash Camp is a place to learn about new RIA technologies, share your experience and network with the community.

Flash Camps have been hosted at some of the famous cities like Brazil, Boston, New york, San fransisco, Manchester, Amsterdam, Tokyo and now Chennai is joining the elite league.

The tentative agenda is released.

The event is a paid event and the price is not yet finalized. Meanwhile you can win a free ticket by registering your interest. The full registration opens on 5th November.

To know more about the Camp visit there site http://www.indiflashcamp.com

 

Adobe’s new releases preview…

Recently Adobe announced Aobe® Flash® Builder™ preview release codenamed “Burrito.” Key Features of this release include:

You can find the whats new features at  www.adobe.com

To know more about the preview you can visit the Adobe Labs site

Download Flash Builder “Burrito”

Another recent Preview release is of Adobe Flash Catalyst “Panini”

This release delivers new bi-directional workflows with Adobe Flash Builder™ “Burrito” that allow designers to collaborate intelligently with developers on shared Adobe Flex projects, enables the design of resizable applications and components, offers enhancements to timelines and animations, and provides more efficient design workflows.

To download and learn more about “Panini” visit the Adobe Labs Site.

 

Adobe Launches Project Rome

Adobe has just launched an all-in-one content creation and publishing application that lets virtually anyone to inject the power of graphics, photos, text, video, audio and animation into everyday projects. Designed as an easy-to-use tool for non-professionals, it provides a way for the general public to create rich multimedia documents without having to purchase or learn complicated desktop publishing, design, Web creation, or multimedia applications. The cross-platform application is available both as an Adobe AIR desktop program and as a browser-based Web service. Project Rome offers output in formats such as PDF, SWF, JPG, PNG, SVG, or FXG or Web files for either an Adobe or third-party-hosted Website.

Project Rome supports cloud-based computing and the ability to share files via Adobe Acrobat.com, Google Apps, or via the Project Rome Template Exchange. Users can also publish links to their creations directly via Facebook, Twitter, and Google buzz. Project Rome does not currently work on mobile phones and devices.

Project ROME is available through this free preview for a limited time.  Project ROME’s final availability, pricing, and feature set are still under review, so visit this site often for updates. Once available, it will be offered as a paid subscription.**

But as of now you can go ahead as it is available now as a free preview, and Adobe seeks feedback from users before launching the app commercially. It is currently available only in English in the United States.

So happy Roming………

Click to Download Rome. :-)

 

IE and Mozilla behave differently for Table nodes

To get the Table nodes values  in JavaScript IE and Mozilla behaves differently

In IE the node index starts with 0. So to get the node value of table you have to start the index with 0, like cells[0].

But in Mozilla node index starts with 1 .