Updated Intro to JCB (markdown)
parent
ec2e81a4eb
commit
5695e85dda
@ -2,7 +2,7 @@ Note - Press the ctrl key before clicking a link to open it in a new browser tab
|
||||
|
||||
Joomla! Component Builder (hereafter known as JCB) was built for those who know the PHP programming language. If you don't know PHP, there are some great places to learn it. One of the few I would recommend is [Lynda.com](https://www.lynda.com/) and you can go to the website and search for PHP. You will find many courses that should get you on your way. If you don't know CSS, JavaScript, and HTML then you definitely need to go visit this website and ones similar to it and get that knowledge. JCB was not created for those who have no development skills.
|
||||
|
||||
I developed JCB for myself as a Joomla! Component developer to easily and quickly get the bulk of the code common to most Joomla! Components so I could focus on the custom code which goes beyond the norm. If you don't have an understanding of the [Joomla! API](https://api.joomla.org/cms-3/namespaces/Joomla.html), you will be at a disadvantage. It's not that difficult to get this knowledge, but you do need to be able to read PHP and build a Joomla! web site. Understanding the [Joomla! API](https://api.joomla.org/cms-3/namespaces/Joomla.html) requires an understanding of [Object Oriented Programming (OOP)](https://docs.joomla.org/Getting_Started_with_Object_Oriented_Programming) and the classes, methods and properties in the Joomla! core. A good way to do this is to [build a Joomla! web site](https://docs.joomla.org/Special:MyLanguage/Portal:Beginners) without any installed extensions. Pay particular attention to the bullet followed by the text Install Joomla! on your own computer since a local installation is my preferred method to develop on, and the reasons are explained further down on this page. Then, look at its directory, folders and files. Become familiar with the many models, views and controllers (MVC) within the directory structure.
|
||||
I developed JCB for myself as a Joomla! Component developer to easily and quickly get the bulk of the code common to most Joomla! Components so I could focus on the custom code which goes beyond the norm. If you don't have an understanding of the [Joomla! API](https://api.joomla.org/cms-3/namespaces/Joomla.html), you will be at a disadvantage. It's not that difficult to get this knowledge, but you do need to be able to read PHP and build a Joomla! web site. Understanding the [Joomla! API](https://api.joomla.org/cms-3/namespaces/Joomla.html) requires an understanding of [Object Oriented Programming (OOP)](https://docs.joomla.org/Getting_Started_with_Object_Oriented_Programming) and the classes, methods and properties in the Joomla! core. A good way to do this is to [build a Joomla! web site](https://docs.joomla.org/Special:MyLanguage/Portal:Beginners) without any installed extensions. Pay particular attention to the bullet followed by the text "Install Joomla! on your own computer" since a local installation is my preferred method to develop on, and the reasons are explained further down on this page. Then, look at its directory, folders and files. Become familiar with the many models, views and controllers (MVC) within the directory structure.
|
||||
|
||||
For example, open a view and read through the script. If you use NetBeans you can position your cursor within the function name and press control shift. It will go to the source and display where in the Joomla website that function is declared. Open that file by clicking it in the left hand column. Continue this exercise with other controllers, models and views that are interconnected. You will begin to see the way the code connects them with each other in a similar fashion for each MVC group. Look through the class methods to see which ones are being extended. Note how some aren’t extending any classes and so on. That's how I got to know how things worked in Joomla! and eventually was able to write sophisticated and feature rich components. Most other developers also learn this way.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user