8
Jun/10
0

7 rules to work with highest performance in SQLite databases in Adobe AIR/Flex

This article shows 7 rules how to get out the most of your SQLite application in AIR:

  1. Create VO’s (value objects or classes) for each query extending a VO with contains at least the “ROWID”
  2. Always use SQLStatement.itemClass and to query for an object – it automatically casts the
  3. Use the “AS” alias in your SQL queries (e.g. SELECT count(name) AS “numberOfNames”) to fit it to your value object.
  4. Use SQLConnection.columnNameStyle = SQLColumnNameStyle.SHORT as possible.
  5. Try to avoid the same name in different tables (which has to be joined at one point)
  6. Use SQL transactions: Start with sqlConnection.begin(); continue with “INSERT INTO (‘firstName’) VALUES (‘:firstName’) and SQLStatement.parameters[':firstName'] = VOList[numberOfVO][firstName];  and end with SQLConnection.commit();
  7. If you want to get the current database Schema (‘SELECT * FROM sqlite_master WHERE type = “table”‘) open the database in read mode SQLConnection(_sqlFile, SQLMode.READ), load the Schema sqlConnection.loadSchema() and push SQLConnection.getSchemaResult() into an Array
3
Jun/10
0

NativeMenu and CMD-Backspace #AS3

If you are using var the NativeMenu on Mac and don’t know how to assign the backspace key, then you are here completely right.

This is how it works:

You just to set keyEquivalent = ‘\b’  (On German Keyboard: Alt Gr – Shift – 7)

Example:

menuItem:NativeMenuItem = nativeMenu.addItem(new NativeMenuItem(“MyMenuItem”));

menuItem.keyEquivalentModifiers = [Keyboard.COMMAND];

menuItem.keyEquivalent = ‘\b’;

menuItem.enabled = false;

menuItem.addEventListener(Event.SELECT, eventHandler);

2
Jun/10
0

Firefox Plugin: SqliteManager as Standalone app!

Do you also like Firefox and it’s powerful addons?

Are you also working with the powerful SQLiteManager (by Tarakant Tripathy, Mrinal Kant) addons?

But sometimes your Firefox is crashing – or you have just too many tabs – or it just takes forever to open up that thing?

So, before about half a year I figured out how you can run this plugin without the Firefox at all!

Like a real application!

How it works?

  1. You need the XULRunner (an environment which can bootstrap XUL+XPCOM applications)
  2. You need the searched plugin as XULRunner application (SQLiteManager)

So check out:

http://code.google.com/p/sqlite-manager/wiki/XulrunnerApplication

29
May/10
0

The Stand-sit-dynamic effect saves money

17 employees participate in a survey over five year to work additionally with a high desk to increase the time of standing during the  work and also to decrease the time of sitting, as the bad habit while writing. Through that period the health status and health behavior was observed.

The question on this study was:

  • whether the stand-sit-dynamics is lived permanently
  • if the  satisfaction and welfare of employees will improve

langzeitstudie_3.jpg

The result was:

  • up to 60% of those polled where satisfied to work on a standing desk
  • 3% increased their productivity on a high level
  • the overall job satisfaction got over 60%, for about 5% and substantiall

(Source: http://translate.google.de/translate?js=y&prev=_t&hl=de&ie=UTF-8&layout=1&eotf=1&u=http%3A%2F%2Fwww.officeplus.de%2Fergonomiewissen%2Flangzeitstudie%2F&sl=de&tl=en)

Filed under: Common
26
May/10
0

Combine states and transitions #flex

The version of flex builder offers many new features.

One really useful combination is the combination of states and transition.

Comparing to the normal development process, complicated bit shifting for setting one pixel to another place – Flex shows how easy it could go:

CodeDependent – Flex 4 States and Transitions | Adobe TV

Tagged as: ,
1
Dec/09
0

Work & fun

On this very nice example you can figure out that work is just something hard & exhausting when it makes no fun:

Filed under: Common
22
Oct/09
0

Links I like

My 10 UNIX Command Line Mistakes

Mac OSX Spotlight Secret Search Parameters

Filed under: Common
5
Oct/09
0

Second release of ieservices-logo

DrawBerry is a really cool and flexible tool:

ieservices_logo_20091006_1413.png

14
Jul/09
0

Interesting Videos

The world changes for a moment:

barclays-fake

Is there someone to be able to present something small, really big?

Yes. they can:

venablesbell

And if you wake up, check your oil:
audi_horsehead

Filed under: Common, News
12
Jul/09
0

Motivation

Welcome and thank you for visiting this page.

Once upon a time the Brooklyn Bridge has connected Brooklyn and Manhatten. The bridge was built under the direction of the German origin John Augustus Roebling. With the same chance as a German, I am looking forward with the same chance of reaching limits and connecting the world.

You are looking for a proactive person, including this attributes?

Nothing happens by itself.

Everything needs a trigger.

For example think of the Domino effect:

One idea triggers many more in continuation, until the last domino has fallen. Only then, the chain of ideas is complete.

Don’t think too much, I am your man!

As a thinking practician who likes to activate and not as a practical thinker who answers just impulsively, I am used to think out of the box.

While my technical apprenticeship, working for three years in business, I got my background. After that, continuing my educational opportunities, I began my college education. Through my early business experiences – unlike most other students, I have a purpose in my studies and the possibilities in future. I have collected great experiences in my life and mentionable knowledge in the IT field.

I became in April 2006 entrepreneur with my own company, called ieServices.

My idea how business will run? Three questions should be asked:

1. Why should a customer do business with you?

2. Why should he pay for your work?

3. How could the client come back, not the product?

I think the basic of every business is the win-win-situation.

How does one get there?

1. Initiate

2. Meet expectations

3. Get done.


But so far, why exactly you?

My aim is to learn how to bring customers dreams become reality. As an enthusiastic and young entrepreneur, it is a perfect opportunity for me to know how your business runs with your marketing solutions.

In my free time I am often experiencing with media and solutions, recently with video encoding I used also to play Underwater Rugby, which is more than a 360 degree sport.

Sincerely yours,

Martin Wörz