How far can we go?
Trustmaster |
|
---|---|
Yes, so far seems like there isn't very much to change so it will be more of an update. The biggest change possible is callback concept but most likely it has more drawbacks than benefits so that we'll improve includes.
Auth system is quite painful. On one hand, we want it to be more detailed and have control over every option and every group (some people even request control over every user). From security point of view, ACL alone is not enough and is combined with hierarchical model. But even as it is now, auth system is huge data and slow access. I'm afraid before we add more and more items, we need to find some smart ways to make auth system more compact and faster access. UPD Finally I've completed my "callbacks vs. includes" experiment and here is the summary:
So we will focus on improving includes() and architecture changes won't be so dramatic. May the Source be with you!
|
|
Dit bericht is bewerkt door Trustmaster (2009-05-04 01:39, 15 jaren ago) |
Dayver |
|
---|---|
I hope we have chosen Major upgrade (or Brand new but very carefully) ? I hope so!
# Trustmaster : OK, here is a list of suggestions I have collected so far: I known that all the items we must to do because all these improvements will reduce the time to create new plugins! And we must do so now because the little time. # Trustmaster : This is good news. Thank you for your work! Pavlo Tkachenko aka Dayver
|
Xerora |
|
---|---|
I didn't really dig through the thread, but as far as the setup file, I suggest it being an xml file. It seems much cleaner and easier than nesting a load of arrays.
<?xml version="1.0" encoding="UTF-8" ?> <setup version="1.0"> <information> <type>module</type> <code>gallery</code> <name>Gallery</name> </information> <hooks> <hook location="standalone" file="photos" order="1" /> <hook location="main.first" file="loader" order="2" /> </hooks> </setup> |
Trustmaster |
|
---|---|
XML files are quite massive on their own. We'll use PHP itself and try making it as compact as possible.
May the Source be with you!
|
GHengeveld |
|
---|---|
Instead of XML, we could consider JSON (it's becoming more and more widespread). Otherwise a PHP implementation (multidimensional arrays?) seems ok.
Recently I've been working with AJAX plugins a LOT (custom implementation for a customer). I've already done some modification in the plug module to allow POST requests more easily. |