background preloader

7 Secure, Lightweight, and Easy to Use PHP Frameworks

7 Secure, Lightweight, and Easy to Use PHP Frameworks
Choosing a good PHP frameworks can help you develop complex Rich Internet Applications quickly, with a best practices oriented approach, and saving a lot of time reusing code snippets that are already available. There are a lot of interesting PHP frameworks you can choose for your next web project. Which framework you choose is really a personal decision. There is no one “best” framework on the market at the moment. Different frameworks are better for different types of projects, and for different developer. Today we will focus on 7 secure, lightweight and easy to use PHP Frameworks. Why Use a PHP Framework? There are plenty of reasons to use a PHP Framework to build your websites. 1. Below we’ve covered some of the best frameworks available today. 1. CodeIgniter is a powerful, high-performance, open-source PHP framework that helps you author PHP applications rapidly. CodeIgniter has an exciting online manual, a couple of helpful video tutorials and an active user forum. 2. 3. 4. 5. 6. 7.

JpGraph - Most powerful PHP-driven charts Ten PHP Best Practices Tips that will get you a job | PHP vs .Net Posted by blake on Jun 4, 2008 in Code, Performance, PHP | 167 comments The last couple of weeks have been quite the experience for me. I was part of a big layoff at my former company, which was interesting. I've never been in that position before, and it's hard not to take it personally. I started watching the job boards, and a nice-looking full-time PHP position caught my eye, so I sent out a resume and landed an interview. Before the face-to-face portion, I chatted with the owner and head programmer on a conference call, and they ended up sending me a technical assessment quiz. Find the errors in the following code: So, give it a shot. If you got the missing comma in the parameter list, the "new Array()" error, the colon instead of a semi-colon, the '=' instead of '=>' in the foreach statement, and the erroneous use of '+' on the echo line, then congratulations, you found all the errors! That's not how I answered the question though. 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. … sorry, pet peeve.

DevNetwork Forums • Index page Tutorials Zend Server Web API spotlight: Connecting to a Zend Server cluster part 2 Hey everybody, In a previous post I introduced the serverAddToCluster Web API action which allows us to initiate clusters and join existing ones with Zend Server. That post showed some code and discussed how the clustering process is started; now I will talk about how we should track the progress of our cluster and deal with […] Continue reading... PHP 101: PHP For the Absolute Beginner p. Continue reading... XML- RPC Client This tutorial teaches you, step-by-step, how to build an XML-RPC client in PHP using the XML-RPC library written by Edd Dumbill. A primer is included to introduce the basics of the XML-RPC specification. Continue reading... VIDEO : Behavior Driven Development with Behat Behavior Driven Development with Behat Unit tests give you a good base to ensure your classes are working technically correct. Continue reading... Installing and Configuring Zend Server 6 on Apple Mac OSX Continue reading...

Top 20+ MySQL Best Practices Database operations often tend to be the main bottleneck for most web applications today. It's not only the DBA's (database administrators) that have to worry about these performance issues. We as programmers need to do our part by structuring tables properly, writing optimized queries and better code. Before we start, be aware that you can find a ton of useful MySQL scripts and utilities on Envato Market. Most MySQL servers have query caching enabled. The main problem is, it is so easy and hidden from the programmer, most of us tend to ignore it. The reason query cache does not work in the first line is the usage of the CURDATE() function. Using the EXPLAIN keyword can give you insight on what MySQL is doing to execute your query. The results of an EXPLAIN query will show you which indexes are being utilized, how the table is being scanned and sorted etc... Take a SELECT query (preferably a complex one, with joins), and add the keyword EXPLAIN in front of it. From MySQL docs:

PHP include() and require() Write your own PHP MVC Framework (Part 1) | anant garg What is MVC? From Wikipedia– Model–View–Controller (MVC) is an architectural pattern used in software engineering. In simpler words- 1. Why should I write my own framework? This tutorial is by no means a comprehensive/definitive solution to your framework needs. So why should you write your own framework? More importantly, you have complete control over your framework. Lets dive right in The Directory Structure Although we will not be a couple of directories mentioned above for this tutorial, we should have them in place for future expansion. application – application specific code config – database/server configuration db – database backups library – framework code public – application specific js/css/images scripts – command-line utilities tmp – temporary data Once we have our directory structure ready, let us understand a few coding conventions. Coding Conventions 1. mySQL tables will always be lowercase and plural e.g. items, cars 2. Now we add index.php to our public folder view.php add.php

CakePHP: the rapid development php framework. Pages PDF Generation with Zend Framework | LiveDocx in PHP - Zend_Service_LiveDocx Generating print-ready well-formatted PDF documents with PHP is not an easy task. Traditionally, there are two main approaches to PDF generation with PHP. Given sufficient time and patience, both partially get the job done, but still leave a lot to be desired: HTML-to-PDF: This approach is widely used in mainstream applications. Programmatic: This approach offers total control of the resulting PDF. A completely new approach In this article, the author presents an entirely new, third approach. Before we delve into a technical discussion on the inner workings of this new approach, let us first take a look at a practical example. The code demonstrated in this article ships with Zend Framework 1.10 or newer. Introducing LiveDocx LiveDocx is a SOAP-based document generation service, based on the market-leading, word processing component TX Text Control .NET. Templates and documents Throughout this article, we refer to the terms templates and documents. Using LiveDocx and Learn more Footnotes

PHP encryption for the common man Consider how today's world differs from the world of just 20 years ago. Long ago, in the 1980s, encryption was spy stuff -- something you read about in a techno-thriller by Tom Clancy. If somebody wanted to keep a bit of information private, he encrypted the data with a password, a pass phrase, or another basic method. Fast-forward to today and encryption is everywhere. As a PHP developer, you should be aware that strong security practices aren't just for exotic applications -- they're for the project you're working on now. There's not enough time or room to discuss every aspect of encryption here, but you'll learn the essentials that will cover most situations you'll find yourself in. Cryptography primer Cryptography is the art of "secret writing," as the word's Greek roots attest. Plaintext: Veni Vidi ViciCiphertext: Xgpk Xkfk Xkek By examining the ciphertext, you can use a few heuristic tricks to figure out the plaintext has been shifted two characters. Listing 1. Listing 2. Summary

PHPMailer tutorial This is meant to be an improved version of the article written by PHPFreaks founder, Eric Rosebrock on the PHPFreaks site HERE, simply because I noticed the URL for that tutorial often was down, so I rewrote it (close to verbatim) for my own personal use. PHPMailer is by far the BEST way to add email functionality to your web site. This is just an article to point you in the right direction to mastering this incredible php package. Tutorials, Guides, Documentation, and HowTos ^ Other PHPMailer links ^ Introduction ^ Sending E-Mail through PHP can be simple, or it can be very complex depending on what you want to do. Requirements ^ The requirements of this tutorial are very limited. Don't sweat it, this is going to be an easy tutorial for you to follow! About PHPMailer ^ PHPMailer is a fully featured email transfer class for PHP that I would put above all of the other E-Mail handlers that I've used. PHPMailer Features ^ PHPMailer Contributors ^ The following contributors to PHPMailer are: Brent R.

Related: