An open API service indexing awesome lists of open source software.

https://github.com/metaclass-nl/phppeanuts-classes-pnt

classes/pnt from the phppeanuts framework
https://github.com/metaclass-nl/phppeanuts-classes-pnt

framework metaprogramming prototyping scaffolding

Last synced: 2 months ago
JSON representation

classes/pnt from the phppeanuts framework

Awesome Lists containing this project

README

          

Release notes


Version 2.4.0

Copyricht (c) MetaClass Groningen 2003-2025. All rights reserved.

Distributed and licensed under under the terms of the GNU Affero General Public License
version 3, or (at your option) any later version.



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.4.0.alpha



  • Tested with PHP 8.3 and 8.4:

  • Workaround for Constant E_STRICT deprecated in PHP 8.4


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.