Difference between revisions of "Rifidi roadmap"

From RifidiWiki

Jump to: navigation, search
m
 
(25 intermediate revisions by 17 users not shown)
Line 3: Line 3:
 
=Current State=
 
=Current State=
  
Currently, the Rifidi products (Tag Streamer, and Emulator) are two <span class="plainlinks">[http://www.bankerslifeinsurance.com/<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">bankers life</span>] totally separate <span class="plainlinks">[http://www.skin-products-review.com/breastactives <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">breast actives</span>] <span class="plainlinks">[http://itshumour.blogspot.com/2009/07/funny-nursery-rhymes-remixed.html <span style="color:#000000;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">nursery rhymes</span>] <span class="plainlinks">[http://www.celebrationswineclub.com/ <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">Wine Clubs</span>] <span class="plainlinks">[http://itshumour.blogspot.com/2009/05/crazy-artistic-tattoos.html <span style="color:#000000;font-weight:normal; text-decoration:none!important;background:none!important; text-decoration:none;">crazy tattoos</span>]<span class="plainlinks">[http://dentaldentistsolutions.blogspot.com/2009/10/process-and-pictures-dental-implants.html <span style="color:#000000;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">dental implants</span>]<span class="plainlinks">[http://itshumour.blogspot.com/2009/09/top-10-hilarious-quotes.html <span style="color:#000000;font-weight:normal; text-decoration:none!important;background:none!important; text-decoration:none;">hilarious quotes</span>]<span class="plainlinks">[http://itshumour.blogspot.com/2010/06/twenty-hilarious-funny-quotes.html <span style="color:#000000;font-weight:normal; text-decoration:none!important;background:none!important; text-decoration:none;">funny quotes</span>]<span class="plainlinks">[http://itshumour.blogspot.com/2011/07/funny-marriage-jokes.html <span style="color:#000000;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">funny jokes</span>]<span class="plainlinks">[http://itshumour.blogspot.com/2011/08/funny-statuses-quotes-for-facebook.html <span style="color:#000000;font-weight:normal; text-decoration:none!important;background:none!important; text-decoration:none;">funny status for facebook</span>] being developed with <span class="plainlinks">[http://www.chetankapur.com/ <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">Chetan Kapur</span>] [http://alliancetransport.com.sg<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">bus rental</span>] the service-oriented paradigm that osgi provides.  this causes several problems:
+
Currently, the Rifidi products (Tag Streamer, and Emulator) are two totally separate software packages with little code reuse (except for readers) and loose coupling integration. Functionality is separated into osgi plugins, but code is not being developed with the service-oriented paradigm that osgi provides.  this causes several problems:
  
 
*Two Separte Development Cycles for Rifidi Tag Streamer, and Emulator
 
*Two Separte Development Cycles for Rifidi Tag Streamer, and Emulator
 
** Version Numbers apply only to releases, not to underlying services provided by osgi plugins
 
** Version Numbers apply only to releases, not to underlying services provided by osgi plugins
 
** too much code is copied and not shared
 
** too much code is copied and not shared
*There is alot of functionality that is not [http://www.arcat.com/arcatcos/cos44/arc44722.html rhino deck] separated into plugins
+
*There is alot of functionality that is not separated into plugins
 
**Stable code mixed with development code
 
**Stable code mixed with development code
 
**If only one small part of a class changes, the whole plugin has to be updated
 
**If only one small part of a class changes, the whole plugin has to be updated
Line 17: Line 17:
 
=Solution through Service Oriented Architecture=
 
=Solution through Service Oriented Architecture=
  
In order to tie the services-oriented design that osgi allows for.  We can achieve this by following the following best practices:
+
In order to tie the two products closer together, we should use the services-oriented design that osgi allows for.  We can achieve this by following the following best practices:
  
* Functionality needs to be separated into [http://www.cloutshoppe.com<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">online shop singapore</span>] services (i.e. plugins).
+
* Functionality needs to be separated into services (i.e. plugins).
 
* osgi plugins should be versioned separately from releases.  We can do this in the manifest file of the plugin
 
* osgi plugins should be versioned separately from releases.  We can do this in the manifest file of the plugin
* Each bundle should have a maintainer.  This can also be specified in the <span class="plainlinks">[http://www.bestpills4weightloss.com/ <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">best weight loss pills</span>] plugin's manifest [http://www.miiny.com<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">deals singapore</span>].
+
* Each bundle should have a maintainer.  This can also be specified in the plugin's manifest.
 
* The most important idea is that Rifidi should be treated as '''one''' application with several possible ways of assembling functionality.
 
* The most important idea is that Rifidi should be treated as '''one''' application with several possible ways of assembling functionality.
  
 
=Rifidi As Single Application=
 
=Rifidi As Single Application=
 
If Rifidi is a single application, it gives several benefits:
 
If Rifidi is a single application, it gives several benefits:
*'''Single Installer''' -  There can be a single, small Rifidi Installer that allows <span class="plainlinks">[http://www.bowtrolcoloncleanseblog.com <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">bowtrol</span>] users to install the Rifidi functionality that they want.  For example, once they have the base application running, they can choose to install the 'emulator' packages or the 'tag streamer' packages.
+
*'''Single Installer''' -  There can be a single, small Rifidi Installer that allows users to install the Rifidi functionality that they want.  For example, once they have the base application running, they can choose to install the 'emulator' packages or the 'tag streamer' packages.
*'''Update Functionality''' -  When a user wants the latest version of the code, he can update the application, which will install only the latest osgi plugins instead of having <span class="plainlinks">[http://www.zetaclearspot.com <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">zetaclear</span>] to download the whole rifidi application again.
+
*'''Update Functionality''' -  When a user wants the latest version of the code, he can update the application, which will install only the latest osgi plugins instead of having to download the whole rifidi application again.
*'''Reliability''' - By focusing on the functionality at the <span class="plainlinks">[http://www.zetaclearspot.com <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">zetaclear</span>] package level, we can note when a package changes and update the version number of the package itself.  In addition, plugin dependencies can specify version number that they depend on.  This allows us to know <span class="plainlinks">[http://featherranch.com/ <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">dog training</span>] which package versions work with the current code ==Related Links==
+
*'''Reliability''' - By focusing on the functionality at the package level, we can note when a package changes and update the version number of the package itself.  In addition, plugin dependencies can specify version number that they depend on.  This allows us to know which package versions work with the current code in case something breaks. Because each plugin can be tagged in the SVN, a 'release' is simply a collection of plugin version numbers.   
 
+
*'''User Upgrade Path''' - By having an installer with the ability to add new functionality, it provides a user with a clear upgrade path in using the Rifidi Products, for example:
[http://www.cellulite.co.uk/ '''cellulite'''] in case something breaks. Because each plugin can be tagged in the SVN, a 'release' is simply a collection of plugin version numbers.   
+
*'''User Upgrade Path''' - By having an installer with the ability to add new[http://www.busbooking.sg<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">bus service</span>]  [http://dentaldentistsolutions.blogspot.com/2009/10/process-and-pictures-dental-implants.html <span style="color:#000000;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">dental implants</span>]<span class="plainlinks">[http://itshumour.blogspot.com/2009/09/top-10-hilarious-quotes.html <span style="color:#000000;font-weight:normal; text-decoration:none!important;background:none!important; text-decoration:none;">hilarious quotes</span>]<span class="plainlinks">[http://itshumour.blogspot.com/2010/06/twenty-hilarious-funny-quotes.html <span style="color:#000000;font-weight:normal; text-decoration:none!important;background:none!important; text-decoration:none;">funny quotes</span>]<span class="plainlinks">[http://itshumour.blogspot.com/2011/07/funny-marriage-jokes.html <span style="color:#000000;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">funny jokes</span>]<span class="plainlinks">[http://itshumour.blogspot.com/2011/08/funny-statuses-quotes-for-facebook.html <span style="color:#000000;font-weight:normal; text-decoration:none!important;background:none!important; text-decoration:none;">funny status for facebook</span>] [http://www.propertyprice.com.sg/<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">Property Prices</span>]Rifidi Products, for example:
+
  
 
[[Image:RifidiRoadmap.png]]
 
[[Image:RifidiRoadmap.png]]
Line 37: Line 35:
 
=Steps to Complete=
 
=Steps to Complete=
 
# Separate functionality into plugins and identify common code that is currently being duplicated.
 
# Separate functionality into plugins and identify common code that is currently being duplicated.
 
+
# Design new packages for the duplicated code.  The new packages should be able to be used by all products.
# Design new packages for the duplicated code.  The new packages should be able to be used by all [http://startutor.sg<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">tuition centre</span>] products.
+
 
# Develop a 'best practices' guide for how to number osgi packages.  Go through all packages and give them version numbers
 
# Develop a 'best practices' guide for how to number osgi packages.  Go through all packages and give them version numbers
# Create a new svn repository and add all new packages to it [http://www.streetdeal.sg<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">hotel deals</span>]
+
# Create a new svn repository and add all new packages to it
 
# Add update functionality within the products
 
# Add update functionality within the products
 
# Host site for serving package updates
 
# Host site for serving package updates
 
# Develop common UI framework
 
# Develop common UI framework

Latest revision as of 16:22, 28 February 2012

This page discusses some long range plans for the Rifidi project.

Current State

Currently, the Rifidi products (Tag Streamer, and Emulator) are two totally separate software packages with little code reuse (except for readers) and loose coupling integration. Functionality is separated into osgi plugins, but code is not being developed with the service-oriented paradigm that osgi provides. this causes several problems:

  • Two Separte Development Cycles for Rifidi Tag Streamer, and Emulator
    • Version Numbers apply only to releases, not to underlying services provided by osgi plugins
    • too much code is copied and not shared
  • There is alot of functionality that is not separated into plugins
    • Stable code mixed with development code
    • If only one small part of a class changes, the whole plugin has to be updated
  • Rifidi is missing an eclipse-like 'update' functionality

As a result, we end up with two separate, but related projects that are loosely-coupled

Solution through Service Oriented Architecture

In order to tie the two products closer together, we should use the services-oriented design that osgi allows for. We can achieve this by following the following best practices:

  • Functionality needs to be separated into services (i.e. plugins).
  • osgi plugins should be versioned separately from releases. We can do this in the manifest file of the plugin
  • Each bundle should have a maintainer. This can also be specified in the plugin's manifest.
  • The most important idea is that Rifidi should be treated as one application with several possible ways of assembling functionality.

Rifidi As Single Application

If Rifidi is a single application, it gives several benefits:

  • Single Installer - There can be a single, small Rifidi Installer that allows users to install the Rifidi functionality that they want. For example, once they have the base application running, they can choose to install the 'emulator' packages or the 'tag streamer' packages.
  • Update Functionality - When a user wants the latest version of the code, he can update the application, which will install only the latest osgi plugins instead of having to download the whole rifidi application again.
  • Reliability - By focusing on the functionality at the package level, we can note when a package changes and update the version number of the package itself. In addition, plugin dependencies can specify version number that they depend on. This allows us to know which package versions work with the current code in case something breaks. Because each plugin can be tagged in the SVN, a 'release' is simply a collection of plugin version numbers.
  • User Upgrade Path - By having an installer with the ability to add new functionality, it provides a user with a clear upgrade path in using the Rifidi Products, for example:

RifidiRoadmap.png

Steps to Complete

  1. Separate functionality into plugins and identify common code that is currently being duplicated.
  2. Design new packages for the duplicated code. The new packages should be able to be used by all products.
  3. Develop a 'best practices' guide for how to number osgi packages. Go through all packages and give them version numbers
  4. Create a new svn repository and add all new packages to it
  5. Add update functionality within the products
  6. Host site for serving package updates
  7. Develop common UI framework
Personal tools