NotesManager; an online-offline Flash Application - Windows Only

NotesManager allows you manage notes for various projects in your company while maintaining synchronization between the remote database and the local client database.

NotesManager allows you manage notes for various projects in your company while maintaining synchronization between the remote database and the local client database. It allows multiple team members to work in tandem from different locations, while maintaining a synchronized set of notes between them. The current application is done using both v1 and v2 components and targetted at Flash Player 7.0.14.0 and above, back end database is powered by MySQL and data porting to and fro by Flash Remoting (CFMX) and the wrapper is done using Flash Studio Pro.

The NotesManager interface consists of a collapsible menu, the left navigational menu and the right entry and comment menu. In addition to these menus, there are various pop up dialogs that are shown when the user clicks on a button or menu item. You can choose to work in 2 connection modes in NotesManager. Online and Offline mode.

Online Mode will always try to connect to the remote server and send the local database change to the remote server immediately. If an error occurs when trying to do this, the change will get saved locally to be performed during the next synchronization.

Offline Mode will save the local database change action locally, and will publish it remotely when you synchronize the next time. Offline mode is more suited when you are not connected to the internet, and when you wish to make numerous changes locally for the time being, which you will synchronize when you connect to the internet.

When you are working with NotesManager, you are typically working with 2 databases, a remote database on the server and the local database. Whenever you make any change to the local database, it has to be send to the remote database, so that other people can see the updated records. Hence you are prompted to synchronize whenever you change the local database, by add/editing or deleting any record.

However you do not need to synchronize the database every time to make a change. Say you wish to add 5 new entries for a project. You can use offline mode from the file menu, add the entries, choosing not to synchronize the database every time. And after you are done with the changes, clicking Synchronize Now only once. The program will publish all the changes you made to the local database to the remote server during synchronization for you. This saving of local changes is done for all forms of changes that can happen to the local database, ie:- add entry, delete comment, add login, edit entry, etc. Also if any change fails during the local to remote synchronization, due to a bad internet connection for instance, the change will automatically be queued, so you only have to try again when the internet connection is working, the change will succeed eventually. There is an option to compact your local database from the Preference section.

And here is a bit of how the fscommands work in FSP, you may realize that it is not the actual way how it works according to MDM, the creator of FSP.

Firstly “object.watch” was used instead of the “setInterval”. So you only wait as long as the fscommand takes to execute and no more. Now although MDM says that FSP will only work for variables in _level0. It has been found that isn’t completely accurate. The shell when setting the output variable does something on the lines of eval(”variable”), where variable is the output variable name passed. With a little bit of testing it was found that if a fully resolvable variable paths was used, it works fine as well. Just so long as there is declare/initialize the variable before calling the fscommand.

So, the following, is valid in FSP.

var o = {};
o.myVar = "";
fscommand ("flashstudio.foo", "_level0.o.myVar");
//
//Now if you were watching the myVar for 
//changes you could setup a callback like.
//
this.onMyVar = function () {
 //myVar in o was changed
};
//
o.watch ("myVar", this.onMyVar);

Given the above it should now be possible to have a standardized means to run fscommands and have callbacks to use the same where they return output in a standardized way without having to write individual watches. Hint : Ideal scenario for using a Singleton. I would love to talk in more details if anybody is doing similar projects or just plain curious. Thanks to MDM for a cool software and an equally supportive help.


Don't like it? There are lots of published articles, pick a random one.

oCricket

Brajeshwar posted this article on Thu, Dec 11th, 2003 at 6:05 pm
Categorized under Technology

Prev Article: Fullasagoog not aggregating me

Next Article: Well then, they are seeking for the best blog


Possibly Related Articles

Archives: Visit the Archives for more articles.

Comments Post Yours

There are 4 responses so far. You can follow any responses to this entry through the RSS feed. You can skip to the end and leave a response. Pinging is currently not allowed.

  1. I am not sure if Flash can handle this. I am looking for a flash application to mimic what our Windows application currently does. It is a certification testing engine. Users download the application engine. When they purchase a test they receive a transaction ID and enter that into the application engine and select a test. The test is downloaded from our site into the engine. We write to the registry a unique key to decrypt the test file. The test file is an encrypted text file and is decrypted when viewed. We wrote/own the encryption algorithim. The questions are displayed in a random order as with the answers. Can this be done in Flash? Can Flash run on Linux desktops?

  2. Innouncement!!!

  3. Yeeeahd, it’s csool

  4. messages with html tags

Post yours

Sidenotes

Quick notes, scribbles, somehow related to this website and to what I do. Or perhaps I'm just plain lazy to make them into a full article.

Why NBC dumped Silverlight for Flash?

The Olympics online were a joint production between NBC and Microsoft, and an opportunity for Microsoft to build a user base for Sillverlight, its new media player. But Flash has a much larger installed base ...6th Sep, 2008

Cappuccino

The guys from 280 North did it again. Earlier, it was the awesome Keynote on the Web -- 280 Slides. Now, its -- Cappuccino -- an open source framework that makes it easy to build ...6th Sep, 2008

Amazon WS Start-Up Challenge - Win $100,000 in Prizes

With the 2008 AWS Start-Up Challenge, Amazon Web Services (AWS) is searching for the next hot start-up that is leveraging AWS to build its infrastructure and business. The grand prize is $100,000 ($50,000 in cash, ...3rd Sep, 2008

The Twitter Song: You're No One If You're Not On Twitter

Here is the awesome Twitter Song from Ben Walker. [audio:http://audio.brajeshwar.com/you-are-no-one-if-you-are-not-on-twitter.mp3] If you enjoy this, you might like to watch The Rise and Fall of Twitter. You're No One If You're Not On Twitter (Lyric) You're no one if you're ...26th Aug, 2008

Download Series AA Equity Financing Documents from Y Combinator

Y Combinator and Wilson Sonsini Goodrich & Rosati announced the Series AA Equity Financing Documents. Their goal is to make angel funding rounds for startups easier for both sides. While they may not be suitable for ...23rd Aug, 2008

View the Sidenotes Archive

Play the Penguin Game

Recommended

  • AS 2.0 Reference Reference for ActionScript 2.0 Programming Language used in Flash. Primarily stashed here for my own personal reference.
  • o! Just Me Of colorful cultures, entertainment, media, life hacks, music, books and movies from hollywood & bollywood.
  • oCricket oCricket is about Cricket and people enthusiastic about it.
  • Downloads All downloads, Free and Open Source.
  • My Special Job My Special Job is a place where you can look for your weird necessities, strangely superb employees, when your need are more of those hackers, geeks, and ultimate rockstars in the Internet Technology.
  • Oinam The official conglomerate of the Oinam related companies, institutes and holdings.
  • Ode to Apple Dedicated to Apple - Mac, iPhone, iPod, iTunes, Quicktime, Apple TV and all the awesome softwares for the Apple Mac.

Download free Brajeshwar Wordpress Theme

Brajeshwar

Brajeshwar I firmly believe in keeping things simple, easy for users and I envison pushing the technical envelop time and again for the betterment of viable commercial and practical applications. More about me.

Brajeshwar Personal Identity Portal powered by VeriSign Labs

Brajeshwar's affinity with Adobe

My Photos

More photos on Flickr

Member of 9rules Network

Since its inception on 11th June, 2001, "Brajeshwar" has 851 Articles and 5,953 comments, contained within 20 categories and 1,186 tags.