Jump to content

26 Ways to Show that PHP Can Be Better Than PHP


horst
 Share

Recommended Posts

There maybe something interesting in it for the PHP-Pros around here:
  
26 Ways to Show that PHP Can Be Better Than PHP

Features that PHP does not have yet:

 1. Aspect Oriented Programming
 2. Annotations
 3. Extended class meta-data beyond reflection
 4. Prototype variables like in JavaScript
 5. Dynamically extend class with plugins
 6. Friend or package access classes
 7. Class generics (templates)
 8. Turn errors into exceptions
 9. Introspection of private functions and variables
10. Alternative auto-loading of classes
11. Running multiple scripts in parallel
12. Named parameters
13. Running unaudited PHP code in a sandbox
14. Class composition
15. Deferred execution of long tasks
16. Satisfy needless dependencies with dummy interfaces
17. Comparable interface
18. Iterable interface

Features that PHP already has:

19. Executing code automatically when exiting a function
20. Class destructors
21. Namespaces
22. Overloading
23. Closures
24. Function parameter type checking
25. Mixing the functionality of different classes
26. Serializing objects that reference each other

Link to comment
Share on other sites

Thanks for sharing the list--It's neat that he points out ways people have found to implement similar features. That sort of content deserves a better website  :lol: I get PHP Classes emails but can barely stand to read them.

  • Like 1
Link to comment
Share on other sites

Hi MarcC,

<irony>does you receive the plain-text or the HTML-formatted ?</irony> ;)

He has 'overworked' and renewed the design just some years ago (3-4 ?). Do you know the previous one, too?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...