Thursday 15 April 2010

Apex 4 - Tree vs Component View

Introduction
The first time I logged into Apex 4 and clicked onto a page of my application to see all my page items in the tree view which I had never seen before live was definitely an experience with such a major change. Having heard of the new tree view but not read any documentation it was very different and took a few minutes to get my head round. I have outlined some of the pro’s and con’s of each view below.

Tree View
Although this is very different once I began to play around with it a little you soon realize it is actually very versatile. The layout once you have worked it out is definitely better. You can customize which elements of the page you want to see at any one time. You can access your report columns directly from the tree, it saves you time digging into the report and then selecting that column. This makes editing the columns much quicker and also easy to see columns in multiple reports at one time.


Another great addition is the ability to right click on anything within your page and get an action menu. From this action menu you have the ability to very easily create computations and validations on page items without having to dig down into multiple menus. The right click is a vast improvement saving you time in a number of areas.

So the bad things about it. It does take you a while to work out where all the page regions are now located. You have to open regions up with plus icon each time, you do have the expand all option but this can make your page rendering section quite long.


Component View

This view is very simple to understand, I think previously using Apex is a big part of the reason however. It’s very simple to edit any items on the page with a single click. All the items on the page are under their individual regions which makes easy viewing. Each region has a plus icon next to its header which allows you to quickly create items to go within that region.


So the cons, you nearly always have to scroll to see the things at the bottom of the page. To edit your report column you first of all have to click on the link for that report and then click the edit Icon to make changes. To copy items also takes 2 clicks to first of all select copy and then choose your item.



Conclusion
Initially I did find the tree view a little more daunting having used Apex in the past and it looking so different. As I’m someone who enjoys playing around with new things I looked on it more as a challenge than a problem as I imagine will most developers. For a new user it won’t make any difference at all as they won’t have used either so will have to learn both views.


I will definitely be using the new tree view as it saves you vast amounts of time with the new right click menu. Your not constantly scrolling from top to the bottom of the page. The layout allows a lot more customization allowing you to view only certain elements of the page.

No comments:

Post a Comment