Forums / Developer / Creating and accessing content objects out of structure

Creating and accessing content objects out of structure

Author Message

Vidar Johannessen

Monday 31 January 2005 12:03:59 pm

Hi all,

In my view, the new EzP admin interface still has quite serious usability issues with regards to <i>how</i> to create and access basic content objects, like articles, products etc. To most users, it just isn't clear enough that content objects cannot be created without <i>first selecting a placement</i> for the object in the content structure and that later on, the only way to reaccess/edit the object, is by remembering its placement in the content structure!

A user who just wants to create an article, should be able to do so right away without regards to where the article is going to be published later on. After all, the person writing the article might very well be another than the one responsible for publishing it somewhere deep in the content structure.

To draw a clearer line between creating structure and creating content, I propose to create a new global menu item called "Content Objects" or "Content Elements" under which all content objects are accessible (and creatable) by content class. That way, the user can choose to create and access content either through the content structure or directly by class (i.e. the user can choose between a Structure first or Content first paradigm). Here is how I envision this new menu item (in Norwegian, sorry):
http://www.ajour.no/ezp/content_objects.jpg

In addition, all Product objects should be made available the same way also under the Web Shop menu item, like this:
http://www.ajour.no/ezp/product_objects.jpg

...like Eirik just proposed here:
http://www.ez.no/community/forum/developer/product_nodes_objects_under_the_web_shop_menu_item

All the best,
Vidar

Ajour Data AS
http://www.ajour.no

Frederik Holljen

Monday 31 January 2005 12:43:10 pm

Hmm.. this somehow makes accessing products "easier" if you have few objects.

But I have a few comments:
What about sites with 100k+ objects? Your list will become somewhat difficult to manage and use. And what about creating objects? Your users still have to place the new objects somewhere where it makes sense. This means that they have to learn how to use the tree which would have solved the problem in the first place...

Additionally there is the confusion over seeing the same item twice, but in a different manner... which one is "right"?

Just my quick thoughts..

Vidar Johannessen

Tuesday 01 February 2005 4:34:33 am

"What about sites with 100k+ objects? 
Your list will become somewhat difficult to manage and use."

Smart filter and sort options would take care of that and if not, one could always opt for the good old "find it by navigating to it" way of access.

"And what about creating objects? 
Your users still have to place the new objects somewhere where it makes sense."

Why? Content objects are self contained and doesn't need a placement in the structure to exist in the system. A placement can be attatched later on (by you or someone else).

All the best,
Vidar

Ajour Data AS
http://www.ajour.no

Frederik Holljen

Tuesday 01 February 2005 4:47:13 am

Smart filtering:
Then you need something else than the screenshots you proposed.. they don't open for filtering, and the default of showing "all" will work only for a small percentage of our shop users. (We have users with 300k+ products)
How do you filter out: All ear-rings made of gold for women? This is difficult unless you create options for all this for all your products.

Not placing objects:
This means that you can't browse to your objects at all, but rely completely on very well organized data about your products which will have to be filled in for each product.

Personally, I don't think this would work very well for the general user. But you are of course free to prove me wrong. Implementing a module that does what you are talking about shouldn't be too hard.

eZ debug

Timing: Jan 19 2025 06:24:53
Script start
Timing: Jan 19 2025 06:24:53
Module start 'content'
Timing: Jan 19 2025 06:24:53
Module end 'content'
Timing: Jan 19 2025 06:24:53
Script end

Main resources:

Total runtime0.8646 sec
Peak memory usage4,096.0000 KB
Database Queries197

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0073 589.1953180.8125
Module start 'content' 0.00730.7231 770.0078570.5625
Module end 'content' 0.73040.1342 1,340.5703336.7266
Script end 0.8645  1,677.2969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.4865210.0002
Check MTime0.00170.1944210.0001
Mysql Total
Database connection0.00050.058910.0005
Mysqli_queries0.780690.29101970.0040
Looping result0.00200.23041950.0000
Template Total0.829495.920.4147
Template load0.00200.234820.0010
Template processing0.827395.691120.4137
Template load and register function0.00020.021510.0002
states
state_id_array0.00110.126310.0011
state_identifier_array0.00140.163920.0007
Override
Cache load0.00170.1965340.0000
Sytem overhead
Fetch class attribute can translate value0.00120.135030.0004
Fetch class attribute name0.00090.109460.0002
XML
Image XML parsing0.00300.351430.0010
class_abstraction
Instantiating content class attribute0.00000.001980.0000
General
dbfile0.00470.5389330.0001
String conversion0.00000.000930.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 28
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs