Skip to content

metaclass-nl/phppeanuts-classes-pnt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Release notes

Version 2.4.0.alpha

This library only contains the pnt classes. To use it install phppeanuts-skeleton and follow the instructions in its Readme.md


Documentation: https://www.phppeanuts.org/

What's new

Since 2.3.0

  • Bugs fixed:
    • E_NOTCE missing key: SqlFilterTest
    • ValueValidator not yet included: PntErrorHandler
  • Other improvements:
    • No longer passes null to string functions
    • Either declares all member variables or #[\AllowDynamicProperties]
    • added conveniece functions substr and strlen to PntGen
    • tested with PHP 7.2.24, 8.0.2, 8.1.17, 8.2.4
    • more details and small changes see doc/changes.txt

Remarks for upgrading existing applications

You may change you application to use composer to install and update this library. See https://github.com/metaclass-nl/phppeanuts-skeleton for an example.
Or you may simply replace the contents of your classes/pnt folder with the contents of src/pnt from this library

Known bugs and limitations

  1. UTF-8 not supported
  2. Applications are only protected against cross frame scripting in browsers that support the X-Frame-Options header.
  3. The Synchronizer Token Pattern by referrerer tokens is not as strong as by request tokens. (currently most frameworks only implement this pattern for actions (called tickets with peanuts)).
  4. Though the framework has DAO classes that are successfully used as the database abstraction layer with MySQL and SqLite, the use with other databases may require some additional refactoring. Please inform us about eventual problems and solutions with the use of other databases. (Known: Oracle versions below 9 do not support standard explicit JOIN syntax, but producing JOIN instuctions is not delegated to DAO objects and can not be easily refactored to do so.)
  5. The AGPL license requires you to license the source of applications using this version of phpPeanuts under the AGPL license.