new User subpackage?

3 views
Skip to first unread message

Ian MacLennan

unread,
Sep 25, 2006, 10:30:40 AM9/25/06
to joomla-d...@googlegroups.com
I just noticed that the JUser, JUserHelper, JAuthenticate,
JAuthorization, JTableARO, JTableAroGroup, JAuthenticateHelper classes
have been moved to a user folder. Will this be a new subpackage or are
they only being moved in the file structure?

Also, JAuthenticateResponse is not in a subpackage - this should be
moved to the appropriate subpackage.

Ian

Louis Landry

unread,
Sep 25, 2006, 10:35:14 AM9/25/06
to joomla-d...@googlegroups.com
New subpackage...

Done :)

Thanks,

Louis

akede

unread,
Sep 26, 2006, 2:59:05 AM9/26/06
to joomla-d...@googlegroups.com
Louis,

did you had a look on the ACL implementation from Hannes?

He introduced a package 'authorization' which was collecting all those
classes as well as the required classes for the ACL access layers.

May be based on the idea to integrate those SoC projects in future it
might be an idea to use those terms already?

Alex

Louis Landry

unread,
Sep 26, 2006, 3:07:19 AM9/26/06
to joomla-d...@googlegroups.com
Yes I did take a look,

While I understand why it was done this way, I do believe that authorization (at least within the scope of our plans for the moment belongs to a user.  For this reason I haven't broken it out.  We are for now at least only authorizing a user's actions or ownership on an object/event so I see no need to break out into a completely separate package.  My thoughts at the moment would be to do the organization when we get to it much like JDocument does its renderer/module folders underneath each document type.  This allows for keeping things nice and neat but still retains the semantic scope of having user owned classes and objects within the user package.

Thanks for the thought/question though.... certainly open to other comments :)

Louis

akede

unread,
Sep 26, 2006, 3:23:23 AM9/26/06
to joomla-d...@googlegroups.com
Yes the approach of JDocument is what I had in mind with the whole ACL
implementation as well.

I'm fine with the package naming, just wanted to make sure we have
Hannes work in mind.

I think the user group manager could be something we can implement in
a 1.5+ version without breaking alot of the ACL technique we are doing
right now. This allows for a little bit more flexibility. If we know
about the naming of the packages, I could ask Hannes to rewrite his
code in order to generate a kind of "proof of concept".

The whole ACL layer is definitly something for 2.0 framework though.

Cheers

Alex

Ian MacLennan

unread,
Oct 8, 2006, 6:02:08 PM10/8/06
to joomla-d...@googlegroups.com
Hey...

The JTable child classes are currently in the model subpackage... I am
assuming that this subpackage should be renamed to table, correct?
Please let me know if this is not the case.

Cheers,
Ian

Also, the following package and subpackage tags need changing:
JFrameworkConfig does not have a subpackage or package - it is in 'unknown'.
JSearch and JSearchHelper are in the Joomla! package - suggest they be
moved to Joomla.Framework package, utilities subpackage?
JElement_MenuItem class is in the Menus package... this needs to be
changed to the Joomla.Framework package.


Louis Landry wrote:
> New subpackage...
>
> Done :)
>
> Thanks,
>
> Louis
>

> On 9/25/06, *Ian MacLennan* <joo...@ianmaclennan.org

Reply all
Reply to author
Forward
0 new messages