pradosoft / prado

Prado - Component Framework for PHP
Other
187 stars 70 forks source link

#976 Adds TComponent::__callStatic, Update the ReadMe #989

Closed belisoful closed 10 months ago

belisoful commented 10 months ago
belisoful commented 10 months ago

FYI, This is a unique feature of PRADO because Prado has Class-wide Behaviors that are installed on classes [and interfaces, and traits]. That list of "default" behaviors for new instances acts as the reserve for magic method static class function calls in default behaviors.

I recently added the ISingleton interface. The __callStatic method can also look at the singleton's attached behaviors as well. There are other classes that could implement the ISingleton.

belisoful commented 10 months ago

Regarding the ReadMe, It lists a few new interesting features (like behaviors, cron, and RBAC permissions) and adds a section on PRADO Composer Extensions. It also removes that other frameworks don't have features because there are so many frameworks that do so much these days.

I think we could be doing more for the community in promoting composer extensions and bringing more visibility to that feature and the community.

belisoful commented 10 months ago

Are there any questions I can answer about this PR?

ctrlaltca commented 10 months ago

Are there any questions I can answer about this PR?

Sorry, i saw you were adding commits and i was not sure you were done on it.

belisoful commented 10 months ago

That's ok. I think you actually have a really great gut feeling about these things. usually when there is delay, even without knowing it, there is reason. it may need a little minor tweak here or there. Don't fret. We got this.

belisoful commented 10 months ago

Also, if you are interested in providing modules from your source and archive to make into extensions, I would be willing to help move some it forward. Having a catalog of usable extensions would be great to see. There are several extensions I'd like to throw out there, including a Wordpress Integration plugin.

If a PRADO Wordpress Integration extension is something you'd be interested in helping with, let me know and I'll make it a priority to get it up on GitHub.