background preloader

Tutorials

Facebook Twitter

Build an MVC Framework in PHP From Scratch: Lesson 1. PHP 101: PHP For the Absolute Beginner. This area is intended for everyone new to PHP.

PHP 101: PHP For the Absolute Beginner

It opens with a series of informal, entertaining tutorials written by Vikram Vaswani, founder and CEO of Melonfire. These tutorials build on a previously-published 5-part series which has now been updated and extended to embrace PHP 5, making parts of it suitable for those of you who already have worked with PHP 4 in the past. If you came here to learn about elementary PHP 4 or basic PHP 5, this is for you. Enjoy! Caching Tutorial for Web Authors and Webmasters. For Web Authors and Webmasters This is an informational document.

Caching Tutorial for Web Authors and Webmasters

Although technical in nature, it attempts to make the concepts involved understandable and applicable in real-world situations. Because of this, some aspects of the material are simplified or omitted, for the sake of clarity. If you are interested in the minutia of the subject, please explore the References and Further Information at the end. What’s a Web Cache? A Web cache sits between one or more Web servers (also known as origin servers) and a client or many clients, and watches requests come by, saving copies of the responses — like HTML pages, images and files (collectively known as representations) — for itself.

There are two main reasons that Web caches are used: To reduce latency — Because the request is satisfied from the cache (which is closer to the client) instead of the origin server, it takes less time for it to get the representation and display it. Kinds of Web Caches Browser Caches. Expires Header. Wie wir alle wissen kann man die größten Performanceverbesserungen auf der Browserseite erreichen.

Expires Header

Ich habe bereits das Zusammenfassen von CSS- und Javascript-Dateien vorgestellt, ebenso wie das Zusammenfassen von Bildern in CSS-Sprites. Damit wird die Anzahl der Request schonmal reduziert. Aber es gibt natürlich noch mehr zu tun, beispielsweise die Requests noch weiter reduzieren durch gute Cache-Einstellungen, die wir an den Brower senden. Das werde ich hier vorstellen ebenso wie die Komprimierung mittels gzip/deflate der Dateien, die dann noch heruntergeladen werden müssen. Cache-Einstellungen werden via HTTP-Header an den Browser mitgesendet. Damit die unten stehenden Anweisungen vom Apache interpretiert werden können muss man das “Expires-Modul” aktivieren, häufig kann man das wie folgt erledigen: Mit dem Firefox-Addon Firebug kann man sich das Ergebnis anschauen:

Eine kleine MySQL-Referenz (PHP-Tutorial) Vorwort Diese "Referenz" zeigt nur die allerwichtigsten MYSQL-Befehle.

Eine kleine MySQL-Referenz (PHP-Tutorial)

Prism - Get Started. Desktop applications with PHP and Titanium at SANIsoft – PHP for E Biz. Welcome back!

desktop applications with PHP and Titanium at SANIsoft – PHP for E Biz

And a very Happy New Year. Yes, you saw it right. The post is about creating desktop applications with the help of PHP. And No, we are not using PHP-GTK. You can now create desktop applications without learning a completely new programming language! What is Titanium ? Titanium is a Free and open source (Uses Apache 2.0 License) framework for building native desktop and mobile applications using open web technologies (JavaScript, HTML and CSS). Now, Appcelerator Titanium (or simply Titanium) Platform consists of : PHP-Gtk. Creating Your Own CMS Part 1 - Secure Login. Have you ever built a site to realize it is a pain to manage?

Creating Your Own CMS Part 1 - Secure Login

There are a lot of CMS options out there but some of them cost money, some are hard to learn, some your hosting company might not support, and well sometimes they just don’t have everything thing that you want. So today I am going to start to teach you how to create your own simple CMS. Today I will get into how you can find a design and get your secure login setup. This will be a series of blogs but to be honest I am not sure how advanced I will be going. If I wanted to spill it all and tell you how to build the CMS that my company uses then it might take a few blogs. Design of Your Own CMS This may or may not be important to you. Here is the one that I chose as well as a few others to browse through. [Fortgeschrittene] Einführung in PHP-Templatesysteme mit der Engine SMARTY. Using Eclipse for Web Development.

As I alluded to on Twitter, Eclipse is a horrific scattered mess of projects masquerading as an IDE. I only hear wonderful things about it, mostly from ColdFusion developers, but god help the person that assumes it will be a quick and easy installation. First you need to choose the package you want. I'm going to be writing PHP, ColdFusion, JavaScript, CSS, HTML files, and committing them to Subversion repositories.

Installation Now, which package should I download? Eclipse IDE for Java EE Developers (163 MB) – Tools for Java developers creating JEE and Web applications, including a Java IDE, tools for JEE and JSF, Mylyn and othersEclipse IDE for Java Developers (85 MB) – The essential tools for any Java developer, including a Java IDE, a CVS client, XML Editor and Mylyn.Eclipse IDE for C/C++ Developers (68 MB) – An IDE for C/C++ developers with Mylyn integration. The size differences alone give me pause, and the descriptions don't help at all.

Individual Package ColdFusion Duplicate Sources.