PIMF Starter cover page

PIMF Starter

PIMF Starter

Developing console and web applications for intermediate developers as well as beginners just starting out with PIMF PHP framework.

Have you ever wished a PHP framework that perfectly adapts to your projects needs, your programming experience and your customers budget? A thin PHP framewrok with less implementing rools and easy to learn how to use it? PIMF is about to satisfy your demands!
PIMF Starter Edit


About the Book

PIMF principles

A good and robust business-logic is better that fat and complex framework. Most of the PHP framewroks are bigger than your

problem. At all you need less than 20% of the functionality of the framework to solve you problem. Therefore we belive that

the “right” 20% of the effort is the 80% of the results - and that is PIMF.

Behind PIMF

Actually we created PIMF for personal use. The aim was to create robust and secure projects and deliver them fast. We wanted

just one easy framewrok, who can be used once for all  our projects. And than - PIMF was born!

PIMFs implementation is based on well proved design patterns as well as fast objects relation mapping mechanism - like famous

PHP frameworks had. The architecture is designed upgrade friendly - so you can upgrade to newer versions without to override your

projects. And for all of you out there, who like to create rich application interfaces with ExtJs or Dojo - we have created

mechanism to couple your GUI to the controllers in a easy and fast way.

Read more

Table of Contents

  • Welcome to PIMF
    • PIMF principles
  • Feature overview
  • Installation & Configuration
  • Autoloading
  • Database connection configuration
    • Quick start using SQLite
  • Creating new application
  • Creating new controller
  • Run controller/action in two ways
  • Creating new command interface action
  • Routing
  • Generating URLs
    • URLs To Routes
    • URLs To Controller Actions
    • URLs To Assets
    • URL Helpers
  • Events
    • Listening To Events
    • PIMF Core Events
  • Response & Headers
    • Sending HTTP Cache-Friendly Headers
  • Request
  • Registry
    • Following objects are directly accessible and come out of the box:
  • Creating new Data-Mapper & working with Entity-Manager
    • Using the Entity Manager
  • Views & Template-Engines
    • Template Engines
  • Session configuration
  • Session usage
  • Cache configuration
  • Cache usage
  • Error handling & customizing 404 500 pages
  • Working with PimfUtilHeader
    • Removes previously set headers
    • Send JSON data
    • Send file
    • Redirect to location
    • Send a 500er internal server error
    • Send a 404er page not found
  • Working with PimfUtilIdentifier
  • Working with PimfUtilIdentityMap
  • Working with PimfUtilSerializer
  • Working with PimfUtilUploaded files
  • Working with PimfUtilUuid
  • Working with PimfUtilXml
  • Working with PimfUtilMessage
  • Working with PimfUtilValidator
  • Contributing to PIMF
    • Forking PIMF
    • Cloning PIMF
    • Adding your Fork
    • Creating Branches
    • Committing
    • Pushing to your Fork
    • Submitting a Pull Request
  • Repositories & Branches

Read More

About the Author

The Leanpub Unconditional, No Risk, 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks. We process the refunds manually, so they may take a few days to show up.
See full terms