FYP: Distribution and Tracking System

Nowadays busy with final year project which is on Distribution and Tracking System of Pepsi. The basic idea of this distribution and tracking system is that any company or organization should develop a good and strong working relationship with their sales staff by tracking their locations through which a client or customer can be facilitated.
The fyp is divided into two parts:

  1. Web Application (JSP or PHP with mySQL and JS)
  2. Mobile Application (Android OS and SQL Lite)

Web Application:

It is a role based application to  access various parts of application like check the order, demand, supply, etc. Application used for maintaining a record of go-down when stock added or used for dispatching to any place. It checks and updates records every time when stock status changed due to any of addition of the stock or use of the stock.Web Application regarding all the transaction activities of goods are maintained so any one can check the current status of stock online according to his role.

Mobile Applicaiton:

It is basically depends on salesman to provide data repeatedly and we also get the location of the salesman through GPS. Salesman can demand, sale, check current stock available on vehicle, update client record, daily report and also theft reporting. The basic concept of that application is to minimize the gap between go-down manager and salesman.


Adobe Creative Suite 5.5 on April 11, 2011

Yes, instead of CS6 Adobe introduces short term update knows as CS5.5 expected on April 11, 2011. Including the following update:

  • CSS3/HTML5 support
  • jQuery Mobile integration
  • Native Android and iOS apps with PhoneGap
  • Adobe BrowserLab integration

  • Resizable applications and components
  • Enhanced timelines and animations
  • Common Library panel
  • Custom skinnable components

Flash Professional Flash Professional CS5.5

  • Efficient workflows for mobile development
  • Content scaling when resizing stage
  • Enhanced layer control
  • Symbol rasterization and better performance

Flash Builder 4.5 Premium Flash Builder® 4.5 Premium Edition

  • Rich expressive experiences
  • Mobile apps for Android, iOS, and BlackBerry
  • More productivity, more power
  • New integrated PHP tooling support: Benefit from an optimized Flex/PHP development experience using the integrated copy of Zend Studio 8 software included in Flash Builder 4.5 for PHP.

Acrobat Pro Acrobat® X Pro Device Central Device Central CS5.5

Now its time to Drupal…

Drupal is an Open Source CMS which uses PHP for programming. It build everything from personal blogs to enterprise applications. Thousands of add-on modules and designs let you build any site you can imagine.

Drupal is free, flexible, robust and constantly being improved by hundreds of thousands of passionate people from all over the world.

Now, I am also keen to learn and working on it as I get the project from my Office which will done by using Drupal. So, I start learning and found it very simple, interactive, interesting, less code and do more, etc.

A person which is not familiar to programming can also use Drupal for web development and make some little or huge web without writing a line of code. It UI is so simple and interactive to perform task. It has a lot of module which we can also called plugins to provide cool look to the project.

On the other side, we can also create our module to make custom forms, view and other things like that. It uses function to override drupal function like hook_form() to your_module_form(). For creating module there will be two file must be in your module folder i.e. your_module.info and your_module.module. For creating database on installing your module is to create your_module.install which can your database queries.

For further info: www.drupal.org


Use of Singleton Pattern in PHP

There are many design patterns we use in our Project, one of the most used design patterns is Singleton. Thats save a lot of efforts of us in OOP.

The main purpose of the Singleton pattern is to deliver a single instance of object no matter how many times you instantiate it.  This saves memory consumption by preventing the creation of multiple instances of an object. Thus Singleton pattern is used to improve the performance of our application.

class SingletonPattern
private static $instance;
public function __construct()
if (!self::$instance)
self::$instance = $this;
echo “New Instance”;
return self::$instance;
echo “Old Instance”;
return self::$instance;

Now, let check how it works on calling…

$a = new SingletonPattern();
$b = new SingletonPattern();
$c = new SingletonPattern();
$d = new SingletonPattern();
$e = new SingletonPattern();

Output of the above ;

New Instance
Old Instance
Old Instance
Old Instance
Old Instance

Now, we can check that the it recall its instance after first instance of the object.