phpWork - php framework, Asp.net-like, Event-driven, Component-based, Ajax-enabled
Home |  Examples |  Download |  Plugins |  Documentation |  Family (Forum, Contact Us)

LATEST NEWS
20-Jan-2010
Version 1.3 is coming. It will be published by the end of this month. It will be much more powerful and much easier to use.

13-Jun-2009
Version 1.2 is published. The default charset becomes utf-8. Read more ...

WHAT IS PHP WORK ?
phpWork is an event-driven(EDP), component-based framework similar as architecture to ASP.NET. It is part of "The work family" including javawork.org, phpwork.org and flashwork.org. It helps you build php-based websites in a very fast, reliable, safe and well-organized way.

The framework is influenced by other PHP frameworks, Java-based ones and mostly by ASP.NET and Borland Delphi. It tries to get the best of the above platforms as well as to avoid some problematic parts. Basically it:
  • Brings the elegance of Java and C#
  • Drops all Perl-like bizzare statements that other PHP frameworks use
  • Relies extensively on OOP concepts
  • Uses programming rather than declarative approach
Code-behind approach is used, so every webpage consists of 2 files:
  • .PHP - presentation logic
  • .PHP.SCRIPT - business/programming logic

GETTING STARTED
If you are a first time visitor and want to get familiar and start using phpWork in less than a hour, these are the practical steps to do:
  1. Go to the examples section and spend 10-15 minutes taking a look over the stuff. For every example both source files are available at the bottom right corner.
  2. Go to the documentation section and follow the links on the left. Browse the phpWork classes and have a look at TApplication, TPage and TWebControl.
  3. Then get the latest version. You can download as well all the examples and class documentation.

FACTS ABOUT PHP WORK FRAMEWORK

  • ASP.NET(Delphi)-like
  • Event-driven, component-based
  • Web 2.0 compatible(AJAX and XHTML)
  • 4+ years of use(1+ since published)
  • Works with PHP5
  • Simple database access
  • Fast and stable
  • Less than 80 classes
  • Less than 300Kb in size
  • I18N support
  • View/Session/Application states
  • Simple input validation
  • Encryption algorithms like xxtea, xor, base64, mcrypt
  • Full documentation and many, many examples

PHP Work is distributed under the MIT License