Share » Forums » Suggestions » Some considerations on refactoring...

Some considerations on refactoring the eZ Publish API

Some considerations on refactoring the eZ Publish API

Friday 23 April 2010 1:55:32 pm - 5 replies

Modified on Saturday 24 April 2010 1:13:37 am by Gaetano Giunta

Author Message

Gaetano Giunta

Sunday 25 April 2010 11:22:28 pm

Some related issues:

http://issues.ez.no/IssueView.php?Id=16731&activeItem=1

http://issues.ez.no/IssueView.php?Id=16730&activeItem=2

http://issues.ez.no/IssueView.php?Id=16729&activeItem=3

http://issues.ez.no/IssueView.php?Id=16728&activeItem=4

http://issues.ez.no/IssueView.php?Id=16727&activeItem=5

http://issues.ez.no/IssueView.php?Id=16684&activeItem=8

http://issues.ez.no/IssueView.php?Id=16683&activeItem=10

Principal Consultant International Business
Member of the Community Project Board

Gaetano Giunta

Sunday 25 April 2010 11:23:58 pm

Some introspection capabilities have been added to extension ggsysinfo in release 0.2: http://projects.ez.no/ggsysinfo

Screenshots:

http://projects.ez.no/ggsysinfo/gallery/admin_interface_screenshots/list_of_available_fetch_functions

http://projects.ez.no/ggsysinfo/gallery/admin_interface_screenshots/list_of_available_views

Principal Consultant International Business
Member of the Community Project Board

Gaetano Giunta

Monday 03 May 2010 6:19:58 am

one more similar issue

http://issues.ez.no/IssueView.php?Id=16770

Principal Consultant International Business
Member of the Community Project Board

Gaetano Giunta

Thursday 27 May 2010 2:34:18 am

One more thing that would help introspection is better tagging of php classes methods (I think this is called "annotation" ).

In short: an example of a currently much needed information is "who does permission checking ?"

Afaik:

  • index.php checks access perms for current user to module/view if the corresponding perm has no limitation
  • the view php code needs to do access checking on its own if the corresponding perm has some limitation
  • other bits of code do access checking on their own (eg. the template fetch functions do some, but not all are created equal, eg. checking perms on related object is not always done in a way that is expected)

See issue http://issues.ez.no/IssueView.php?Id=16862 for the feat.request.

Principal Consultant International Business
Member of the Community Project Board

Gaetano Giunta

Tuesday 22 June 2010 1:44:56 am

Interesting blog post on the tpoic: http://blog.tabini.ca/2010/06/software-apis-and-all-the-kings-men/

Principal Consultant International Business
Member of the Community Project Board

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu