From 3c4777f9e4b78b7d0d7e823f6005710ad9ecf672 Mon Sep 17 00:00:00 2001 From: Amigo <49749100+aamigo@users.noreply.github.com> Date: Sat, 18 May 2019 09:27:47 +0200 Subject: [PATCH] Updated 002 Intro to JCB (markdown) --- 002-Intro-to-JCB.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/002-Intro-to-JCB.md b/002-Intro-to-JCB.md index 4329676..9b5c19f 100644 --- a/002-Intro-to-JCB.md +++ b/002-Intro-to-JCB.md @@ -1,18 +1,18 @@ # Introduction to Joomla Component Builder -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. -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. 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. - So 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. - 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 my sequel 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)> - So I'm running in a Sandbox environment And what this The advantages as you don't have any internet Involvement those of you that already do it know all these advantages but those of you don't [00:06:07](https://www.youtube.com/watch?v=9evJkBTnKxE&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h06m07s) You you can basically work offline mostly And And as well you can add Things like XDbug And other script Which help you debug Your application very easily We doing that in online developing sorry Off-site environment is [00:06:26](https://www.youtube.com/watch?v=9evJkBTnKxE&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h06m26s) Time consuming and Difficult and Expensive So it's much easier doing it offline and again if you don't know how to do that Please visit Lynda.com and Look at a course called I think it was Up and running with PHP Linux developer Linux server Running my next Wait let me quickly go find out hold on Ok here we have it up and running with Linux for PHP developers by Jon Peck [00:06:59](https://www.youtube.com/watch?v=9evJkBTnKxE&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h06m59s) Is an excellent course to get your own Local Developing environment setup I don't know this URL is gonna be helpful But there it is Apache-tutorials up and running Linux PHP developers and I'm sure if you've watched this I've watched it [00:07:24](https://www.youtube.com/watch?v=9evJkBTnKxE&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h07m24s) Any Moons ago And it's been very helpful To get my Initials Sandbox setup Obviously since then And I suppose with yourself as well you'll find it you you get better And you find better ways But it's a good place to start [00:07:44](https://www.youtube.com/watch?v=9evJkBTnKxE&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h07m44s) Ok so that is about getting your hands dirty Component builder best place of Function of being functional is offline If you gonna do it online please realise that there might be security risks Especially when you've compiled An application It places it into your temporary folder which can be accessed From From anywhere Anyone can access your temporary folder on your [00:08:14](https://www.youtube.com/watch?v=9evJkBTnKxE&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h08m14s) Server Of your website So Yes you can delete the application from there in mediately with a button which are show you later But it is still I feel unsafe and the purpose of the application was Live in a developing environment where you have Joomla installed and where you can really test it intensly So I would still suggest it None the less you do it that way Ok now Finally we almost there [00:08:45](https://www.youtube.com/watch?v=9evJkBTnKxE&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h08m45s) Finish with the introduction since it's free please help me to ensure the future of this component By not sharing it's training videos online or with anyone else this is really the only way that I can sustain this Development is if you Don't share these videos so please if you be so kind If you have an organisation or you your a company and you have a Others that's gonna view it I suppose I can't stop you from doing that but I would encourage you there for then [00:09:28](https://www.youtube.com/watch?v=9evJkBTnKxE&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h09m28s) to consider making a contribution when you are starting to reap the benefits of The time that this application saves you so that this application can be further developed for the rest of the The community and also for yourself We would like to also involve you on Github so you can go to GitHub /VDM - IO / Joomla component builder Basically this place here And if you if you have issues or any requests or anything really Please come here and go to issues and open a new issue [00:10:12](https://www.youtube.com/watch?v=9evJkBTnKxE&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h10m12s) I want to be sure you can do that if you've got an account of course with GitHub And then we at least our discussions you are logged and it's public and others can see it and We can also come back as do it in reference If you want to make a feature request then you can start That feature request obviously herein the issues And possibly if it exist I'll point you out to it and if a training is needed we will add it to this training Video set but if there is a feature request that has started here and you feel that you you can't wait because we possibly will create milestones and we will add feature requests to milestones in you wanna ensure that a feature request ends up being done Before anyone else is then you need to communicate with me at this email and I can send you [00:11:09](https://www.youtube.com/watch?v=9evJkBTnKxE&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h11m09s) a link to to make a donation or a Yeah I'll give you an invoice even if needed so that we can ensure that feature request be done Before Others ok so that's maybe all of it just looking at sort of an introduction If you have any questions please let me know Obviously not regarding the component itself but just these points I've mentioned I'll be grateful ok It's so let's get on with it Since I'm really looking forward to showing you how everything works + So I'm running in a Sandbox environment and what this the advantages as you don't have any internet involvement those of you that already do it know all these advantages but those of you don't [00:06:07](https://www.youtube.com/watch?v=9evJkBTnKxE&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h06m07s) you can basically work offline mostly, and as well you can add things like XD bug and other script which help you debug your application very easily. We are doing that in off-site environment. It is [00:06:26](https://www.youtube.com/watch?v=9evJkBTnKxE&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h06m26s) time consuming and difficult and expensive. It's much easier doing it offline and again if you don't know how to do that, please visit Lynda.com and look at a course called I think it was up and running with PHP Linux Developer, Linux server running my next wait let me quickly go find out hold on. Ok here we have it up and running with Linux for PHP developers by Jon Peck [00:06:59](https://www.youtube.com/watch?v=9evJkBTnKxE&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h06m59s) It is an excellent course to get your own local developing environment setup. I don't know this URL is gonna be helpful, but there it is Apache-tutorials up and running Linux PHP developers and I'm sure if you've watched this I've watched it [00:07:24](https://www.youtube.com/watch?v=9evJkBTnKxE&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h07m24s) many moons ago and it's been very helpful to get my initials Sandbox setup. Since then and I suppose with yourself as well you'll find it you you get better and you find better ways. It's a good place to start. [00:07:44](https://www.youtube.com/watch?v=9evJkBTnKxE&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h07m44s) That is about getting your hands dirty. Component builder best place of function of being functional is offline. If you gonna do it online please realize that there might be security risks especially when you've compiled an application. It places it into your temporary folder which can be accessed from anywhere anyone can access your temporary folder on your [00:08:14](https://www.youtube.com/watch?v=9evJkBTnKxE&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h08m14s) server of your website. So Yes you can delete the application from there immediately with a button which are show you later, But it is still I feel unsafe and the purpose of the application was live in a developing environment where you have Joomla installed and where you can really test it intensely. I would still suggest it none the less you do it that way. Now finally we almost there [00:08:45](https://www.youtube.com/watch?v=9evJkBTnKxE&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h08m45s) finish with the introduction, since it's free please help me to ensure the future of this component by not sharing it's training videos online or with anyone else this is really the only way that I can sustain this development is if you don't share these videos so please if you be so kind if you have an organisation or you, you're a company and you have a others that's going to view it I suppose I can't stop you from doing that but I would encourage you there for then [00:09:28](https://www.youtube.com/watch?v=9evJkBTnKxE&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h09m28s) to consider making a contribution when you are starting to reap the benefits of the time that this application saves you, so that this application can be further developed for the rest of the the community and also for yourself. We would like to also involve you on Github so you can go to GitHub /VDM - IO / Joomla Component Builder. Basically this place here and if you have issues or any requests or anything really, please come here and go to issues and open a new issue. [00:10:12](https://www.youtube.com/watch?v=9evJkBTnKxE&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h10m12s) I want to be sure you can do that if you've got an account of course with GitHub, and then we at least our discussions you are logged and it's public and others can see it and we can also come back as do it in reference. If you want to make a feature request then you can start that feature request. Obviously here in the issues and possibly if it exist I'll point you out to it and if a training is needed we will add it to this training Video set. But if there is a feature request that has started here and you feel that you you can't wait because we possibly will create milestones and we will add feature requests to milestones in you want to ensure that a feature request ends up being done before anyone else is then you need to communicate with me at this email and I can send you [00:11:09](https://www.youtube.com/watch?v=9evJkBTnKxE&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h11m09s) a link to to make a donation, or I'll give you an invoice even if needed so that we can ensure that feature request be done before others. That's maybe all of it just looking at sort of an introduction. If you have any questions please let me know. Obviously not regarding the component itself, but just these points I've mentioned. I'll be grateful. It's so let's get on with it since I'm really looking forward to showing you how everything works.