Suggestion on building a component

37 views
Skip to first unread message

Jonathan Seni

unread,
Jan 10, 2012, 6:08:47 AM1/10/12
to joomla-...@googlegroups.com
Hi,

I am a php developer (I can say intermediate - not that much). I want to develop a system which where by user can create account and decide from two options (Buyer or Seller). If seller the system create a profile page where seller will be able to post there items and then system will generate a page for the seller. SO SELLER WILL HAVE TWO SECTIONS, DASHBOARD / CONTROL PANEL / ADMINISTRATION PANEL- A PLACE WHERE THEY CAN POST NEW ITEMS, ETC, ETC. While Buyer will have just front end where they can decide to search items, view, add them to there lists, etc, etc.

I want to use Joomla to create a component that will do all those works. Only problem is that I am new to Joomla development (Though I spent years just developing templates for Joomla)

What I want from you is a suggestions on which Classes I should take a look and which areas I should pay more attentions, and wheather its better to use other system other than Joomla (Though my point of using joomla is because I believe it will be more safer than any other tool)

I just use Buyer and Seller to elaborate my point but the system wont allow and purchase. Its more of a Business Listing. Can be Business and Clients or whatsoever.

Thank you very much for any suggestions.

--
Jonathan Seni.

There are 10 kinds of people in this world,
Those who knows numbers, and
Those who wait for the other 8 people to be listed
----------------------------------------------------

SimplyMepis, SuSE 9.2, openSuSE 10.2 /10.3/11.0/11.1/11.2 /11.3/11.4(x86-64).

alikon

unread,
Jan 10, 2012, 7:20:46 AM1/10/12
to joomla-...@googlegroups.com
in my opinion the best way to learn is to take a look at core components code for example com_users and in addition
take a look at http://docs.joomla.org/Developers

Jonathan Seni

unread,
Jan 10, 2012, 10:18:34 AM1/10/12
to joomla-...@googlegroups.com
So, you suggest that most of part I will be dealing with com_users component?

If so, then I will go through classes of com_users as well as database classes as I see joomla uses DBO classes.

Thanks for the link as well. am taking a look on it as well.

On Tue, Jan 10, 2012 at 15:20, alikon <optimus...@gmail.com> wrote:
in my opinion the best way to learn is to take a look at core components code for example com_users and in addition
take a look at http://docs.joomla.org/Developers

--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-cms/-/ow5T1ZLp9u8J.
To post to this group, send an email to joomla-...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-cm...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/joomla-dev-cms?hl=en-GB.

JSamir

unread,
Jan 11, 2012, 10:28:43 AM1/11/12
to joomla-...@googlegroups.com
Hi,

basically in any component you got single and list views. So go first for those and analyse code of tutorials (see docs.joomla.org) and core components. If you get those right (together with the JView, JModel, JController(JControllerAdmin/JControllerForm) and JTable you should be able to build anything.

For those parts which dont fit into this 2 categories (single view/list view) you can either ask or just think of your own solution.

For example, i had a component for which i needed a dashboard. I made a new dashboard view, included the Models of the views which are needed for dashboard and just used them to get the data needed. Dont know if there would be a better solution, but it worked for me.

Just get the basics and you can get the job done. BUT: be careful, nobody can tell you how long you will need to accomplish this goal. Also, you can do much stuff and then see that you made a mistake and do some stoff over again. So, if you got only lets say 1 month to get the site ready, it wont work.

My 2 cents.
Reply all
Reply to author
Forward
0 new messages