Build an MVC Framework in PHP From Scratch: Lesson 1. PHP 101: PHP For the Absolute Beginner. [box] For a complete list of Zend Training Courses – PLEASE CLICK HERE ! [/box] This area is intended for everyone new to PHP. 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! PHP 101 (part 1): “Down the Rabbit Hole” An introduction to PHP’s variables and operators.PHP 101 (part 2): “Calling All Operators” The rest of the PHP operators (there are many), and simple form processing.PHP 101 (part 3): Looping The Loop Basic control structures explained.PHP 101 (part 4): The Food Factor Arrays, PHP array functions, and what it all means. Caching Tutorial for Web Authors and Webmasters. For Web Authors and Webmasters This is an informational document. 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? Why do people use them? 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.
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: Wie man im obigen Bild sehen kann wurde diese Datei auch gzip-komprimiert an den Browser gesendet. Eine kleine MySQL-Referenz (PHP-Tutorial) Vorwort Diese "Referenz" zeigt nur die allerwichtigsten MYSQL-Befehle. Für eine ausführlichere Referenz empfehle ich die PHP-Referenz.
Viele dieser Befehle sind ähnlich den ODBC-Befehlen aufgebaut. Durch Ersetzen des MYSQL_ durch ODBC_ erreicht man die ODBC-Befehle. Ist Voraussetzung in jedem PHP-Programm, das MySQL benutzen will. Mit MySQL_Connect wird meist auch gleich die Datenbank der Wahl ausgewählt; dies geht mit mysql_select_db(...) und ist deshalb hier gleich mit-erwähnt. mysql_connect('localhost') OR DIE ("Konnte nicht mit MySQL verbinden. "); @mysql_select_db("datenbankname") OR DIE ("Konnte nicht mit Datenbank auf MySQL verbinden Hinweis: OR DIE (String) lässt den Programmablauf mit der Meldung String abbrechen falls das Ergebnis der vorangegangenen Operation false war. Schließt die Verbindung zu MySQL und ist am Ende jedes Programmes, das auch MYSQL_CONNECT benutzt hat, aufzurufen. mysql_close(); führt eine SQL-Anweisung aus. Mysql_query ("insert into kueche values ('Messer')");
Prism - Get Started. Desktop applications with PHP and Titanium at SANIsoft – PHP for E Biz. Welcome back! 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 : 1) Titanium Desktop SDK This will be our focus in this post. 2) Titanium Mobile SDK The Titanium Mobile SDK empowers you to not just create but also run and even package real native mobile application for your favorite iOS, Android and even Blackberry (still in beta) using it cross platform JavaScript APIs and the final application will actually be a native application. Titanium Developer Why would you use it. What do you need to learn ? What tools do you need ? PHP-Gtk. Creating Your Own CMS Part 1 - Secure Login. Have you ever built a site to realize it is a pain to manage? 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. I am creating this CMS as I type this so you guys are looking at it first hand. A Few Things To Have Before You Begin the Login admin/ classes/css/images/includes/lib/markitup/cache/classes/css/images/includes/lib/
[Fortgeschrittene] Einführung in PHP-Templatesysteme mit der Engine SMARTY. Using Eclipse for Web Development | corey gilmore's blog. 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.