pwPHP

A php framework

Features

  • A MVC framework
  • Naive php templeate, w/ extending
  • Database handler wrapper w/ SQL builder
  • Apps in Apps allowed i.e. fruit/apple, fruit/orange
  • Friendly/Customizable error pages (w/ debug infomation)
  • Log system
  • Widgets (built-in widgets: ajaxform, captcha, cytoscape, logview, queue, scaffolding)
  • Form server side validation system (separated logics and validation)
  • Less support
  • I18N system
  • Cache system
  • Customized modules/widgets support
  • More ...

2.0.2 Update

  • die if mysql_select_db fails
  • fix url error when the app is under root domain
  • fix limit -1 error of mysql query
  • fix include_once return true instead array when getting the widget configuration
  • add dataTables API in file and db pager module
  • add awk 'IN' condition in file pager module
  • fix bugs in ajaxform widget, add trigger API to trigger a form into ajaxform anytime using js

3.0.0 Update

  • integrate Medoo framework (medoo.in), old database handlers are abandoned (including sqlbuilder, dbresult), now only mysql and sqlite supported TODO: add more database support (mainly to get tables and columns information for different database types)
  • Change configuration file to php way
  • Add cmdQueue as a widget, old widget abandoned
  • Make fpager module also support Windows (bins are stored in drivers/fpager)
  • Add ini module, which can read and write ini settings
  • Move cache module to core
  • Simplify 500 and 404 page
  • Change the widget calling way. Original: pw\widget('widgetname') -> pw\widget::widgetname(index, config) Support runtime config
  • Support runtime db configuration
  • Upgrade dataTables to 1.10.1, as well as the server side API dataTablesAjax in pager module
  • Change validator module to just pass name to it, values will be got automatically, such as by $_GET

3.0.1 Update

  • Fixed a URL pattern match bug
  • Change the length of cmdQueue output
  • Add default arg for pw\url
  • Page will scroll to the error input for ajaxform widget

3.0.2 update

  • fix bugs
  • add html view for cytoscape widget

Docs

To be documented ...