Bananas Development Blog: Archives

geschrieben am... Besser machen

Jeder kenn ja die "geschrieben am" oder "posted at by ..." Zeile damit man erkennen kann wie alt der Beitrag ist.
Ist ja auch sinnvoll und vorallem besser wenn es in einem Format ist, mit dem man schnell was Anfangen kann. Also nicht nur "datum: 1.1.1970" oder so.

hier ist ein tolles Codebeispiel wie man schnell was tollen zaubern kann.
-> Format a time interval with the requested granularity

das Ergebnis ist dan so was:
Submitted 3 days 4 hours ago


Viel spass

Banana
out

Flash Bildergalerien

Eigentlich nicht viel dazu zu sagen:

In this web roundup, we have handpicked some of the best free Flash photo galleries on the Internet. From web based scripts, to Flash components ready to be integrated on your website. And on top of that, we’ve also included some cool tutorials that will help you to learn how to create your own 2D and 3D Flash Galleries and how to turn it in a Flash Component.


30+ Free Flash Photo Galleries and Tutorials

Banana
out.

Outlook und HTML E-Mails

HTML E-Mails gibt es ja schon lange, aber einen Standart zur Darstellung solcher sucht man vergebens.
Hat man dann nach langem Experimentieren eine Lösung gefunden, ist das leider immer eine sehr Aufwendige bzw. eine mit sehr wenigen Features auskommen muss.

Nun was macht Microsoft ?
Einen Standart vorschlagen... leider nicht.

Microsoft have confirmed they plan on using the Word rendering engine to display HTML emails in Outlook 2010.


Microsoft to ignore web standards in Outlook 2010 - enough is enough

Daher bitte auf dieser Seite mitmachen:
Let’s use Twitter to send a clear message to Microsoft.

Join 9,925 others asking Microsoft to improve standards support and make sure you include fixoutlook.org in your tweet. We’ll pull together every tweet that includes the link here to give Microsoft a unified message from the community.

http://fixoutlook.org/

User Interfaces verbessern

Was bringt es einem wenn die Anwendung funktioniert aber die Bedienung grauenhaft ist ?
(ok anders herum ist es vielleicht schlimmer)

Die Bedienung einer Anwendung ist das Erster was der Benutzer verwendet. Warum sollte man da sparen ?

Hier mal ein Artikel der viele Vorschläge hat und Anregungen bietet:

10 UI Design Patterns You Should Be Paying Attention To

Banana
out.

PHP 5.3 und der goto Befehl

Nun darüber hatten wir es schon mal.

Aber anscheinend sind sich die Entwickler von PHP der Sache bewusst und nehmen es mit Humor.
(besser wäre es aber wenn das wieder enfernt wird !!)

Nach der Besschreibung im Handbuch haben Sie einen Comic eingebaut, der die ganze Sache eindeutig beschreibt.
http://php.net/goto

Hier noch ein screenshot fals dies mal weg gemacht wird.

Old news but. PHPMyAdmin remote execution

Ist zwar schon eine Woche her, aber nicht jeder hat seinen phpmyadmin aktualisert...

I think this vulnerability is a nice reminder that it’s still possible to perform remote command execution these days without relying on SQL injection (i.e.: xp_cmdshell) or a memory corruption bug (i.e.: heap overflow).

After reading the public advisory and patched code, and playing around for a while, I managed to have a working PoC bash script. The script will allow you to remotely run shell commands and PHP code against vulnerable targets. Although in principle the vulnerability sounds quite simple, it actually took me a while to go from advisory to working attack code.


CVE-2009-1151: phpMyAdmin Remote Code Execution Proof of Concept

PMASA-2009-3

Web Standarts: Das Grundwissen

Jeder kann ja heutzutage eine Website machen. Man muss nicht einmal besonders gut darin sein, denn die Browser und vorallem die Benutzer sind sehr tolerant.

Aber soll dies der Grund wein, warum man sich nicht an die Standarts hält ?

Nun denn hier ist eine schöne Aufstellung über ein paar Dinge die man auf jedenfall machen sollte.

10 Ways To Make Your Site Accessible Using Web Standards

Lest euch alles durch. Auch die Kommentare, denn der Artikel hat nicht die beste Überschrift und manche Dinge sind vielleicht nicht so till wie sie erscheinen.

Banana
out.

Suchen und ganze Zeile entfernen mit VI/VIM

Mann kann nach was suchen und dann die Ganze Zeile löschen.

Das hat den vorteil, dass man den Inhalt der Zeile nicht komplett wissen muss, sondern nur einen Tail davon. Und wenn was gefunden wird, wird die ganze Zeile gelöscht.

Eigentlich ganz pracktisch.

Hier steht wie das geht:
Suchen und dann ganze Zeile entfernen

HLStats 1.50 release

HLStats 1.50 finally released.

Here is a small snaptshot of the changelog:
1.50 (18-06-2009)
) New: EloRating system. Can be activated and used sperate it along with the existing (thx to HampusW)
) New: EloRatung system: Level of verbose output can now be configured in hlstats conf
) New: Beta gamesupport for L4D
) New: Beta support for Zombie Panic
) New: IngamePoints option in hlstats.conf allows to de/active the skill report at kill/frag (thx to Schlesie)
) New: At server configuration you can enter the default map. This map is used
if HLStats is unable to determine the map.


Download
complete changelog
Forum topic and more information

HLStats moved to github

Sometime there is a need for some fresh start.

So HLStats has now moved to github.com

HLStats at gitHub

Updates will follow.

banana
out.

Bash lernen und verstehen

die developerWorks Seiten von IBM sind immer sehr hielfreich.

Hier nun eine Reihe die sich mit bash (Bourne again shell) beschäftigen und es leichter machen damit umzugehen.
Summary: By learning how to program in the bash scripting language, your day-to-day interaction with Linux will become more fun and productive, and you'll be able to build upon those standard UNIX constructs (like pipelines and redirection) that you already know and love. In this three-part series, Daniel Robbins will teach you how to program in bash by example. He'll cover the absolute basics (making this an excellent series for beginners) and bring in more advanced features as the series proceeds.


Bash by example, Part 1
Bash by example: Part 2
Bash by example: Part 3

Viel Spass.

banana
out

Javascript Bibliotheken

Jeder kennt script.aculo.us, prototypejs, jquery und mootools.

Aber wer kennt:
- JSTweener
A tween library for JavaScript based on Tweener Class for tweening and other transitions via ActionScript code for Flash.
- ActiveRecord.js
ActiveRecord.js is a cross browser, cross platform, stand-alone object relational mapper. It shares a very similar vocabulary to the Ruby ActiveRecord implementation, but uses JavaScript idioms and best practices.
- Raphaël
JavaScript library that will simplify your work with vector graphics on the web. It uses SVG and VML as a base for creating graphics and currently supports Firefox 3.0+, Safari 3.0+, Opera 9.5+ and Internet Explorer 6.0+.

etc.

Nun, sehr wenige warscheinlich. Daher lege ich euch mal folgende Übersicht ans Herz:

List of Really Useful JavaScript Libraries

Enthält alles von
Animation,Audio / Video, Database, Image Processing / Visualization / Drawing
bis
Utilities (Others)

Viel spass damit

banana
out

Fresh Developer resources

So nach dem morgentlichen E-Mail und Feed Check hier mal einen kleinen Auszug von meiner Ausbeute.

50 Fresh Useful Icon Sets For Your Next Design
(Kann man immer gebrauchen)

Beautiful High-Quality Free Fonts For Your Designs
(In dem Artikel sind noch mehr Links zu diesem Thema enthalten.)


Top 10 Programming Fonts
( Die meisten sind bei mir (Gentoo) schon dabei.)

Useful Glossaries For Web Designers and Developers
(da gibt es viel zu lesen)

12 Tips For Designing an Excellent Checkout Process
(manchmal ist es fast zu einfach)

Wordpress vs. Serendipity

Habe mich mal dazu verleiten lassen, Wordpress zu installieren.
Jeder redet ja davon und es wird anscheinen sehr oft benutzt.

Da dachte ich mal, ich mache was Neues.

Also Wordpress installiert und mal ein wenig umgeschaut.
Backend total anders als serendipity. Ok anderes Konzept warum nicht. Aber irgendwie komisch. Langsam. manchmal umständlich und keine einheitlichen Konzepte.

Die alten Posts aus diesem System zu importieren ist auch kein Problem. Denn serendipity bietet an, alle Posts als RSS zu exportieren und Wordpress kann eine RSS Datei nehmen um alle Inhalte zu impotieren.
Dabei ist aber auch Handarbeit angesagt. Der Import geht ohne Probleme. Leider verhaspelt man sich bei den Umlauten und es werden alle Tags als Kategorien angelegt. Wer also viele Tags hat, muss aufräumen.
Ansonsten ist der Import via RSS kein Problem.

Da ich ja kein Designer bin greif ich auf Themes zurück.
Und was muss ich da leider festellen. Wordpress bietet zwar ein Repos mit vielen Themes an, man muss diese aber immer selber via FTP hochladen.

Das Selbe ist bei den Plugins. Es gibt viele, aber irgendwie zu viele. Da jeder user da mit machen kann. Ist auch toll aber bei der großen Anzahl blickt man einfach nicht durch.

Und warum muss man Themes und Plugins und alles andere noch via FTP installieren ?

Serendipity kann das einfach per Klick. Plugin/Theme auswählen, es wird installiert, Konfiguration anpassen und fertig.
Warum kann das Wordpress nicht ? So was ist nicht schwer. Habe ich auch schon in zwei Anwendungen implementiert. Total einfach.

Ich wollte was Neues machen, hatte auch schon einen Plan wie ich das mit den unterschiedlichen URLs hinbiege, aber irgendwie hat mich Wordpress nicht überzeugt.

Ich habe keine Vergleiche gemacht, aber allein die erste Bedienung und das weitere herumspielen hat mich einfach nicht überzeugt. Und wenn es schon mal soweit ist, dass man danach suchen muss, hat das neue System keine Chance.

Also weiter so serendipity.

Banana
out.

Website Performance

Was bringt einem die tollste Anwendung, wenn diese nicht schnell genug ist ?
Schnell ist der Kunde nicht überzeugt und greift auf seine alte Anwendung zurück, die eigentlich ersetzt werden sollte.

Natürlich muss die neue Anwendung besser sein, aber wenn die schon bei der Geschwindigkeit hinten drann liegt, kommt man nicht weit.

Es gibt ja viele Möglichkeiten dies zu verbessern und Google reiht sich nun auch in die Liste ein.

Page Speed is an open-source Firefox/Firebug Add-on. Webmasters and web developers can use Page Speed to evaluate the performance of their web pages and to get suggestions on how to improve them.

Page Speed

Habe es auch schon mal installiert und bin zumindest nicht enttäuscht.

[UPDATE]
Von google gibt es auch noch Artikel und Beispiele zur steigerung von der Performance:
Web Performance Best Practices

Banana
out.