Programming

Jquery Librarys / Plugins

My favorites Jquery ajax librarys / plug-ins

More >

FFMPEG Generating splash images

Generating splash images

The splash images on the page were configured with FFMPEG tool with following command line argument.

ffmpeg -i my_movie.flv -f image2 -s 320x240 my_image.jpg

The command is not optimized in any ways. You can play with the tool and send us a better command if you like.

How to Send RSS Feeds to Twitter and Facebook

http://thesocialmediaguide.com.au/2010/04/25/how-to-send-rss-feeds-to-twitter-and-facebook/

http://app.dlvr.it/

http://www.slideshare.net/iglassbox/how-to-send-rss-feeds-to-twitter-and-facebook

More >

You Tube Flash AS3 / AS2 Data & Player API

Recently I have been working on something involving the use of video content from You Tube. With the lack of a good API out there I created my own. Below is a simple example of this working with sample code to download further below.

More >

PHP mail validation function

function valid_email($str)
{
return ( ! preg_match(“/^([a-z0-9\+_\-]+)(\.[a-z0-9\+_\-]+)*@([a-z0-9\-]+\.)+[a-z]{2,6}$/ix”, $str)) ? FALSE : TRUE;
}

GR hostmaster

ErrorCode 2009.Invalid Epp Schema.Fatal error: URI=null Line=14: The entity name must immediately follow the ‘&’ in the entity reference.

Na figei to & apo ta data! or na ginei convert se code!

Στην πρώτη απάντηση (response) από τον EPP server (πχ στην απάντηση της εντολής login), o application server αποθηκεύει το JSESSIONID cookie στα headers. Συγκεκριμένα, παρακάτω φαίνονται τα περιεχόμενα των headers αμέσως μετά την πρώτη απάντηση από τον EPP server:

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=6A7041BD9654402D19A2127E0BD53B5B; Path=/epp; Secure
Date: Mon, 21 Jun 2010 08:49:22 GMT
Connection: close

Εάν το JSESSIONID cookie δεν χρησιμοποιηθεί στις επόμενες εντολές που αποστέλλονται στον EPP server (ή η τιμή που αποστέλλεται είναι λανθασμένη), τότε η απάντηση θα είναι “Invalid EPP Session” με κωδικό σφάλματος 2509.  Παρακαλούμε ελέγξτε τον τρόπο εξαγωγής του JSESSIONID cookie από τα HTTP headers στις εφαρμογές που χρησιμοποιείτε.  Υπενθυμίζουμε ότι ο ίδιος application server χρησιμοποιείται και στο σύστημα παραγωγής αλλά και στο δοκιμαστικό σύστημα: https://devepp.ics.forth.gr:700/epp/proxy.

PHP – remove tag from string

<?
$content = “this is something with an <img src=\”test.png\”/> in it.”;
$content = preg_replace(“/<img[^>]+\>/i”, “(image) “, $content);
echo $content;
?>

The result is:

this is something with an (image)  in it.

Web UI libraries

1. IT Mill Toolkit
IT Mill Toolkit is an open-source framework, providing widgets and tools for the development of Rich Internet Applications (RIAs). Deliver web applications without worrying about incompatibilities of web browsers, DOM or JavaScript by using standard Java tools.

2. LivePipe UI
LivePipe UI is a suite of high quality widgets and controls for web 2.0 applications built using the Prototype JavaScript Framework. Each control is well tested, highly extensible, fully documented and degrades gracefully for non JavaScript enabled browsers where possible

3. Iwebkit iPhone/iPod touch framework
Iwebkit is the revolutionnairy kit used to create high quality iPhone and iPod touch websites in a few minutes. In the first 4 months of it’s existance the pack has greatly evolved from a basic idea to a project that has reached worldwide fame!

4. Jitsu
Jitsu contains an integrated set of tools to enable developers to build and deploy sophisticated user interfaces for web applications. These include an Xml markup language, page compiler, data binding engine, JavaScript runtime, control library, runtime inspector, animation engine, cross-platform library, Ajax, and back button support.

5. MochaUI
MochaUI is a web applications user interface library built on the Mootools JavaScript framework.Uses: web applications, web desktops, web sites, widgets, standalone windows and modal dialogs.

6. Echo Web Framework
Echo is an open-source framework for developing rich web applications. From the developer’s perspective, Echo behaves as a user interface toolkit–like Swing or Eclipse SWT. AJAX technology is employed to deliver a user experience to web clients that approaches that of desktop-based applications.

7. The Yahoo! User Interface Library (YUI)
The YUI Library is a set of utilities and controls, written in JavaScript, for building richly interactive web applications using techniques such as DOM scripting, DHTML and AJAX. YUI is available under a BSD license and is free for all uses.

8. Sigma Ajax UI builder
Written in javascript and PHP, SigmaVisual is web based visual AJAX UI builder for professional developers. Developers save their time in building up prototype as well as real web applications. TreeBar, TreeGrid, Layout, Menu are supported.

9. WUI Web UI Framework
WUI (Web User Interface) is an MVC framework for writing web UIs in a single language: Java. Write web apps with components, widgets & events, not JSPs. Runs in any servlet 2.3 container. Similar to Model 2 / Struts, only better. Apache-style license.

10. Butterfly Web UI
Butterfly Web UI is a component oriented web framework for Java, like Wicket or Tapestry. The main advantage compared to these frameworks is that Butterfly Web UI integrates naturally with Butterfly DI Container, giving you a state-of-the-art dependency injection container to help you structure and decouple the internal components of your web applications.

11 Yahoo YUI library
The YUI Library is a set of utilities and controls, written with JavaScript and CSS, for building richly interactive web applications using techniques such as DOM scripting, DHTML and AJAX. YUI is available under a BSD license and is free for all uses.