Posted in December 15, 2010 ¬ 23:41h.Ole Michaelis2 Comments »
Hey there,
Today I have to create some UML Class Diagrams for my programming class, but as I mentioned before, I’m lazy, so I want to create the diagram from the source files, and I knew there was a way in NetBeans to do so. But they removed this Feature (package) by default. I don’t know why, because this is an amazing feature here’s a screen.
NetBeans UML
If you also want to use this feature I will give you an easy 4-step-manual:
Posted in December 4, 2010 ¬ 18:56h.Ole MichaelisNo Comments »
Hey there,
I want to continue bloggin’ technical and programming stuff, so these time I want to talk about code hinting / auto completetion in a loop with PHPDoc.
I think you all knew this problem: you store one kind of object in an array. You iterate over this array and want to execute some methods of this object, but due to the loose typing of PHP your IDE cant give any type hints or auto completetion. A few days ago I had the same problem, I wanna have some kinda auto completetion in my IDE, cuz I’m lazy (BITCH!) .
I asked my friend Google and I found some answers, but they are all not that “complete” as I searched for. So I wanna try to give these kinda complete answer to this question, with example code. The answer is really simple, just use PHPDoc in the loop to tell your IDE with kinda object stored in this var.
/* @var $bar bar */
Easy, heh?
And the result is AWESOME (more or less )
Code Hinting in a foreach
And the complete example you’ll find here: [download id="2"]
Posted in November 20, 2010 ¬ 14:10h.Ole MichaelisNo Comments »
Hi @all,
During the last Month I spend a lot of my time with JavaScript developing, And I found some very very cool slides from ed-finkler during all my researches. And I want to share it with you. There in there, there were a few very cool JS examples, and many Answers to Questions PHP-Developers often had during JS-Development.
Posted in November 18, 2010 ¬ 21:39h.Ole Michaelis1 Comment »
Hey there,
As I promised last Weekend, I want upload and share my Google Chrome / Chromium Presentation, which I had this Monday at our Office. Notice it’s in German, sorry for the inconvenience.
Hope you enjoy it and it’ll have a bit Information you don’t know before. If there were any Questions left, feel free to ask at the comments.
Posted in November 13, 2010 ¬ 18:16h.Ole Michaelis2 Comments »
Hey There, it’s me again,
On monday I will talk about Chrome as a Developer Browser, and during the preparation of this presentation I wrote this little JavaScript Object that kill your Browser, if you want to see more, be prepared for my presentation on Monday at InnoGames, and if you can’t come, due to missing access rights to our office. Be prepared for the slides here on my Blog.
Posted in November 12, 2010 ¬ 22:08h.Ole MichaelisNo Comments »
Hey there,
Today I want to update to jQuery 1.4.4 but there was a Problem, with my self written fadeToggle() Plugin, due to this problem I have to find out which jQuery version the Plugin User has. And while I try to find an answer via Google, I recognize that there was no real answer for that. So I took a look into the jQuery source, and there was the answer:
// The current version of jQuery being used
jquery: "1.4.4",
This is one attribute of the jQuery Object. But this is a String… So how should I check against a String, I dont want do check for a Special version, I want so check if the Used source version is greater then another. But we already have the string so it shouldn’t be that harx to find it out. And to be honest, it isn’t that hard Just a bit JavaScript magic:
if (parseInt($().jquery.replace(/\./g,'')) > 144) {
...
}
Here i checked against the jQuery version 1.4.4 if you want to check against for example 1.2.1 it “121” but here Cpt. Obvious was at work. Ok just kidding, thats all.
Posted in October 30, 2010 ¬ 13:52h.Ole Michaelis1 Comment »
Hey there,
Due to my post to the Cowork of Fancybox and Cloud-zoom, I regognize that many people came here with a site translator like bablefish and google translate. That gives me a kick in my ass to realize that I can’t go on with bloggin in German.
So all further blog posts will be in English. And I translated the Fancybox/Cloud-zoom post into english.
Hope that this will help you all (and forsure my blog)!
Posted in September 18, 2010 ¬ 20:32h.Ole MichaelisNo Comments »
Ich glaube mittlerweile hat ja fast jeder einen Facebook Account, und da ich ja nun auch berufliche mit Facebook zu tun habe, ist es Quasi ein muss für meinen Blog das Ihr meine Artikel nun auch auf Facebook “sharen” könnt.
Posted in August 31, 2010 ¬ 22:07h.Ole Michaelis13 Comments »
Hey there, I like to translate this post to english, due to this awesome interest.
Today I want to blog some programming stuff, its some time ago I do that. I give my attentaion to the cowork of fanybox and cloud-zoom, booth are jQuery plugins. And to be honest it’s not that hard as it sounds. Let’s go:
Fancybox init:
$("a.gallery").fancybox({
'onComplete' : function(arg) {
// Here does the magic starts
$('#fancybox-img').wrap(
$('<a>')
.attr('href', $(arg[0]).attr('href'))
.addClass('cloud-zoom')
.attr('rel', "position: 'inside'")
);
// That's it
$('.cloud-zoom').CloudZoom();
}
});
Now deactivate the boarders in cloud-zoom.css:
/* This is the zoom window. */
.cloud-zoom-big {
/*border:4px solid #ccc;*/
overflow:hidden;
}
Posted in June 23, 2010 ¬ 17:40h.Ole Michaelis2 Comments »
Hallo liebe Leser,
Damit dieser Blog mal wieder ein wenig Leben eingehaucht bekommt. Habe ich jetzt einen ersten Gast-Blogger ein zuhause gegeben. Er hat keinen Blog aber braucht dringendst eine Plattform um seine Gedanken mit der Welt zu teilen. Und da ist dieser kleine beschiedene Blog vielleicht für den Anfang genau das richtige.
Es ist *Trommelwirbel* Levente, seines zeichens Software Developer bei der selben Firma wie ich es bin. Ich hoffe das ich damit die Qualität des Blog’s erhöhen kann.
Ihr solltet ihm am besten auch gleich auf twitter folgen: anthraxx42