Category Archives: Lars Knickrehm

eyeDesigner

Do you like fully featured development environments for user interface controls? oneye has always had one, but that’s just hidden in the darkness of our version control system.

That one has been developed by Jose Carlos Norte from the prior eyeos Team, nowadays CTO at eyeos Company. Let’s say it’s been a very good step, but didn’t continue any way sadly.

I personally (!) like to write UI code on my own, but I guess there are a lot around, that’d like to try it. You can now get more information on eyeDesigner and grab the original eyeDesigner installer package from its wiki page.

PS: Just hover the “Downloads” menu entry and take a closer look at translations, eyeSync or what ever you want.

I am “back up”…

There are two things developers need to care about while developing: Writing code and… backing up the current state of development. This is regularly done using code repositories in the networks (e.g. svn, git or csv). But you might not be as safe as you might think of right now. Let me explain what has happened to me last weekend.

What has happened…
Instead of others I am using a local svn server – just on the same disk as my development repository. Normally this is just fine and I back up things each month, but this month the was some chaos, ’cause of the movement to another city. Everything worked fine and I planned to backup things on Monday. But just on Saturday my MSI notebook just crashed (seems TortoiseSVN did some crazy things…). As every Windows user I just rebootet and… and… and… cry! No more partitions available.

Finally my solution ended in…
Downloading demo of the recovery live cd from www.livecd.com and checking for lost files through the file recovery application. This allowed me to get back files smaller than 65kb. Sadly the oneye 0.9 files aren’t necessarily smaller than 65kb, so I just needed to create a disk image on an external drive.
Later I could download and install Active@ File Recovery (“Standard” costs about 25€) to read such disk images and get back my data.

I am back up…
During the next days I will probably go and create a first video showing some UI elements of oneye 0.9 and maybe even some things in the background. What’d you like to see?

1. PHP – JavaScript, PHP or both?

Together PHP and JavaScript rule the web development market. Both are used on small, middle and even high-level sites, but before talking about the languages itself, we should clarify the way client and server work together. The following images show, what happens when you trigger a simple web address:

PHP
This C-like language is especially designed for server usage and simplicity while developing. It’s possible to use a lot more languages on the server-side, but PHP is pre-installed in nearly all web hosting offers.
PHP supports class-based object-oriented programming even though its core functionality is procedural. The PHP project is hosted at www.php.net, where they offer PHP and its nice documentation.
PHP is a powerful platform, but integrated functions do not follow unified rules for names and parameters. Additionally PHP offers a wide range of syntax elements and – sadly – some alternative syntaxes, making it more difficult for beginners to read sources from different developers.

<?php
$product = 'eyeos';
if ($product === 'oneye') {
	echo 'You are already using the latest community.';
} else {
	echo 'Please update your community.';
}
?>

Did you know?
“PHP” stands for “PHP: Hypertext Preprocessor” and as such it’s a recursive acronym (source).