Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

If you were designing a Component... 29 Jan 2012 08:48 #1118

  • iconvisual
  • iconvisual's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Keen Joomla! 1.7 Developer
  • Posts: 53
  • Thank you received: 5
Hi All,

looking for your thoughts and suggestions to assist please.

If you were designing/building a BIG Component that was the core to a major online Joomla! application...

Would you also create Modules to perform 'tasks' such as Data Entry and Reporting as a separate task to the component to keep things more 'organised'? (Yes, I know j-cook builds front end and back end for me..)

Would you simply create a final build of the Component with j-cook and then edit each and every Front End layout that was a part of the Component/Application - cutomise the CSS look and feel, adding additional elements such as Commentary/Text etc..

And if the above choice where would be the best place to start with the customisation of the required layouts for the look and feel of the Joomla! template/site. In the Views? Sure.. much work with some 30 Tables and 35 layouts.

And if you were required to also create 'Reports' from the data in the tables of the Component would you build those into the Component - or create them separately in Modules..??

Your thoughts? Any suggestions? Recommendations? Ideas?

Thank you good people!

Regards,

Ed.
Keen Joomla! and PHP/MySQL developer. Excited about J-Cook.

Please Log in or Create an account to join the conversation.

Re: If you were designing a Component... 30 Jan 2012 12:02 #1124

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Well, I am not sure to understand well all the points.

I start to answer with my own opinion.

If you have a lot of views / screens... You sould have a lot of work. Don't know how to avoid this.


FIRST POSSIBILITY :
Maybe you can create a JDom class that allows you to layout your objects. It was in projects (It was orking and then I suppressed it, because too much confusion for beginners I guess). I mean instead of writing DIVS of TABLES, FIELDSETS... you abstract all this, and then you can customize ALL YOUR LAYOUTS as you want and modify all of them very easily.

The power of JDom is to have a ready to call structure, where you can do what you want !!




SECOND POSSIBILITY

Create a full javascript interface (Cook is a Cook based component hi hi... Rewrited 4 times with Cook !)

Instead of returning html layouts, create some functions that returns you objects in JSON or XML (also in the roadmap... RSS too).
By this way, you get your filtered objects lists and flys without any template. ONLY raw object that you pass in another renderer framework in JS in this case.


THIRD POSSIBILITY :
Create a PHP rendered framework for your project and deal directly with the functionalities of your models.
i mean, you can do in you proper maneer, avoiding the native VIEW functions of your component.

Do as you want.
If you understand well how the MVC is built you can play with as you want.
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

Last edit: by admin.
  • Page:
  • 1
Time to create page: 0.051 seconds

Real time saver and great Component Builder tool ! I have been developing with J-Cook Pro Component Builder for several months now and can say with all honesty that this product/service is second to none. The product is feature rich and is being improved and added to all the time. Do yourself a favor if you need to build a Joomla! Component then you can do no wrong in trying the product. You will save on time and effort while being able to deliver your project on time. J-Cook pro does the hard work for you you then have the freedom to fully customise the end result for your own needs. 

One word: Awesome.
Edwardcox (JED)
         

Get Started