Updated 002 Intro to JCB (markdown)
parent
fc71f40e81
commit
ee0528e294
@ -3,15 +3,20 @@
|
|||||||
|
|
||||||
Hi, Welcome. My name is Llewellyn van der Merwe. I'm the developer of Component Builder for Joomla. I would be giving you instructions how to use it.
|
Hi, Welcome. My name is Llewellyn van der Merwe. I'm the developer of Component Builder for Joomla. I would be giving you instructions how to use it.
|
||||||
|
|
||||||
|
### Easy And Quickly To Do Code - Focus On Custom Code
|
||||||
|
|
||||||
Component-Builder was built for those who know PHP. If you are not familiar with PHP there are some places to get help like [Lynda.com](https://www.lynda.com/) and Udemy. You could go on to their websites and you can simply search for PHP and you would find courses to get you on your way. To get acquainted with CSS JavaScript HTML you need to go visit these websites. It was not developed for those who have no developing skills, I developed it actually for myself as developer of components, so that I can easily and quickly get most of the code done and I could just be focused on the actual custom code which goes beyond the norm. So that is what it is really made to do. If you don't have much knowledge of the Joomla API you just need to be able to read PHP and open a Joomla website, go to Libraries and to Classes, go to Joomla's own components. That means you would simply go to a Joomla install and you go to components and you would go to Content manager. Looking at the folder structures, then open and there you will see the Controllers, the Models and the Views. Open a View, start opening the script itself and read through it.
|
Component-Builder was built for those who know PHP. If you are not familiar with PHP there are some places to get help like [Lynda.com](https://www.lynda.com/) and Udemy. You could go on to their websites and you can simply search for PHP and you would find courses to get you on your way. To get acquainted with CSS JavaScript HTML you need to go visit these websites. It was not developed for those who have no developing skills, I developed it actually for myself as developer of components, so that I can easily and quickly get most of the code done and I could just be focused on the actual custom code which goes beyond the norm. So that is what it is really made to do. If you don't have much knowledge of the Joomla API you just need to be able to read PHP and open a Joomla website, go to Libraries and to Classes, go to Joomla's own components. That means you would simply go to a Joomla install and you go to components and you would go to Content manager. Looking at the folder structures, then open and there you will see the Controllers, the Models and the Views. Open a View, start opening the script itself and read through it.
|
||||||
|
|
||||||
|
### Joomla's Components - Learn How Codes Interconnects
|
||||||
|
|
||||||
|
|
||||||
If you are using NetBeans you can hold onto a function like this "... if($this.>getLayout()..."and Select "...getlayout... "...and then press Ctrl Shift. It will show you where in your Joomla website that function is declared and [00:02:34](https://www.youtube.com/watch?v=9evJkBTnKxE&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h02m34s) you can open that file and you can click "... Open source in editor..." and you can start doing these kind of things and learn how codes interconnects to each other by just looking at Joomla's own [00:02:58](https://www.youtube.com/watch?v=9evJkBTnKxE&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h02m58s) components. Basically that's how I got to know how things work, I simply went to "... JHelperContent::getActions...", select "...getActions..." and press Control Shift and then opened that in the next window, look through the Class Methods and Class variables which ones that is extending. [00:03:21](https://www.youtube.com/watch?v=9evJkBTnKxE&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h03m21s) In this case, this one did not extend any.
|
If you are using NetBeans you can hold onto a function like this "... if($this.>getLayout()..."and Select "...getlayout... "...and then press Ctrl Shift. It will show you where in your Joomla website that function is declared and [00:02:34](https://www.youtube.com/watch?v=9evJkBTnKxE&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h02m34s) you can open that file and you can click "... Open source in editor..." and you can start doing these kind of things and learn how codes interconnects to each other by just looking at Joomla's own [00:02:58](https://www.youtube.com/watch?v=9evJkBTnKxE&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h02m58s) components. Basically that's how I got to know how things work, I simply went to "... JHelperContent::getActions...", select "...getActions..." and press Control Shift and then opened that in the next window, look through the Class Methods and Class variables which ones that is extending. [00:03:21](https://www.youtube.com/watch?v=9evJkBTnKxE&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h03m21s) In this case, this one did not extend any.
|
||||||
|
|
||||||
|
### Application Implements API
|
||||||
|
|
||||||
That is how I came to know how Joomla API works. You will come to see how this application implements API over and over. My aim is not to reinvent things but to stick to the conventions as far as possible. As I become aware of better ways of implementation I would like to add that again, so if you know a better way of doing it, please communicate with me. I would gladly update, include and change whatever is needed.
|
That is how I came to know how Joomla API works. You will come to see how this application implements API over and over. My aim is not to reinvent things but to stick to the conventions as far as possible. As I become aware of better ways of implementation I would like to add that again, so if you know a better way of doing it, please communicate with me. I would gladly update, include and change whatever is needed.
|
||||||
|
|
||||||
|
### Remember to Debug
|
||||||
|
|
||||||
It is very important to debug something which you have build that did not work. Possibly you need to run a local sandbox environment. Ubuntu is my local sandbox where [00:04:38](https://www.youtube.com/watch?v=9evJkBTnKxE&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h04m38s) I have PHP on it and got MySQL installed and then Joomla. So if I had to open a browser and I would type in this "...Local.." This is my Local Install. I have typed in "... VDM..." [00:05:04](https://www.youtube.com/watch?v=9evJkBTnKxE&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h05m04s) and I have basically a few sites here. A test in this one we will be working and the one in which Component Builder is being developed. And those sites have admin in it ext. so this is just my own little script that I've dumped into my own little server and I can now [00:05:27](https://www.youtube.com/watch?v=9evJkBTnKxE&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h05m27s) change that, for example; if we go to Builder.VDM. some of the test [00:05:43](https://www.youtube.com/watch?v=9evJkBTnKxE&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h05m43s) displays are loaded which I'm working on and if I add Administrator to that, it will open the back end and I can login.<(Editted)
|
It is very important to debug something which you have build that did not work. Possibly you need to run a local sandbox environment. Ubuntu is my local sandbox where [00:04:38](https://www.youtube.com/watch?v=9evJkBTnKxE&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h04m38s) I have PHP on it and got MySQL installed and then Joomla. So if I had to open a browser and I would type in this "...Local.." This is my Local Install. I have typed in "... VDM..." [00:05:04](https://www.youtube.com/watch?v=9evJkBTnKxE&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h05m04s) and I have basically a few sites here. A test in this one we will be working and the one in which Component Builder is being developed. And those sites have admin in it ext. so this is just my own little script that I've dumped into my own little server and I can now [00:05:27](https://www.youtube.com/watch?v=9evJkBTnKxE&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h05m27s) change that, for example; if we go to Builder.VDM. some of the test [00:05:43](https://www.youtube.com/watch?v=9evJkBTnKxE&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h05m43s) displays are loaded which I'm working on and if I add Administrator to that, it will open the back end and I can login.<(Editted)
|
||||||
|
|
||||||
(Uneditted)>
|
(Uneditted)>
|
||||||
|
Loading…
Reference in New Issue
Block a user