Updated 065 JAB18 Using Joomla Component Builder (markdown)

Amigo 2019-09-28 15:44:07 +02:00
parent 92dda5559c
commit 2e32056833

@ -100,7 +100,9 @@ And then you can setup Fields and So are the institutions of field types You can
[00:18:59](https://www.youtube.com/watch?v=S9heClCWJrg&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h18m59s)
Here in the bottom on the right corner we gonna saw The views. it was used in and That's where it gets tangible so once you set up your field types and your fields If you at least need new ones that are not default with the tool You're gonna set up your views and I think you're familiar with the list views and the item views so the List views is where you got your tabular tabular display of multiple items and your items used a typical View of one of those [00:19:35](https://www.youtube.com/watch?v=S9heClCWJrg&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h19m35s) Items so that's the item View Component Builder it uses also a custom View Which is used to like for reporting where you can do graphing or anything special that's not Necessarily in the realm of a Item view Itself or list view So these fields are the stuff that's gonna get Added to the database You can add all kinds of conditions in the view [00:20:09](https://www.youtube.com/watch?v=S9heClCWJrg&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h20m09s) For that You can add buttons to a view Not necessarily understand what is saved I commit or Any other actions And there's a plethora of options to hook into your Code so Adding an Ajax called PHP that's run on the get item so when you get a singular item At the PHP for batch add PHP for [00:20:44](https://www.youtube.com/watch?v=S9heClCWJrg&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h20m44s) After publishing Before deleting Post save well For the list query so you could Read data from the database and manipulate it Too show it in the different forms or if you have Like numeric presentation of whatever attribute you could change that then to display as and item or What you would wish Lots of options Here added got a lot of [00:21:16](https://www.youtube.com/watch?v=S9heClCWJrg&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h21m16s) Items already So basically it tooks into while if you looks out to do if you would also it model and control apart At last part you saw something about the MySQL so you can add a MySQL done to initialize That table on installation And as the usual stuff regarding publishing And commissions that we all know from Hanni standerd Joomla thing But that also means that At this level you [00:21:53](https://www.youtube.com/watch?v=S9heClCWJrg&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h21m53s) The entire workflow in component Builder you can add the same restrictions to As we had a for other component so you can have some people in some groups have the right to Create fields or Not create Fields create tables Anything But you would want.
Here in the bottom on the right corner we gonna saw The views. it was used in and That's where it gets tangible so once you set up your field types and your fields If you at least need new ones that are not default with the tool You're gonna set up your views and I think you're familiar with the list views and the item views so the List views is where you got your tabular tabular display of multiple items and your items used a typical View of one of those [00:19:35](https://www.youtube.com/watch?v=S9heClCWJrg&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h19m35s) Items so that's the item View Component Builder it uses also a custom View Which is used to like for reporting where you can do graphing or anything special that's not Necessarily in the realm of a Item view Itself or list view So these fields are the stuff that's gonna get Added to the database You can add all kinds of conditions in the view [00:20:09](https://www.youtube.com/watch?v=S9heClCWJrg&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h20m09s) For that You can add buttons to a view Not necessarily understand what is saved I commit or Any other actions And there's a plethora of options to hook into your Code so Adding an Ajax called PHP that's run on the get item so when you get a singular item At the PHP for batch add PHP for [00:20:44](https://www.youtube.com/watch?v=S9heClCWJrg&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h20m44s)
After publishing Before deleting Post save well For the list query so you could Read data from the database and manipulate it Too show it in the different forms or if you have Like numeric presentation of whatever attribute you could change that then to display as and item or What you would wish Lots of options Here added got a lot of [00:21:16](https://www.youtube.com/watch?v=S9heClCWJrg&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h21m16s) Items already So basically it tooks into while if you looks out to do if you would also it model and control apart At last part you saw something about the MySQL so you can add a MySQL done to initialize That table on installation And as the usual stuff regarding publishing And commissions that we all know from Hanni standerd Joomla thing But that also means that At this level you [00:21:53](https://www.youtube.com/watch?v=S9heClCWJrg&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h21m53s) The entire workflow in component Builder you can add the same restrictions to As we had a for other component so you can have some people in some groups have the right to Create fields or Not create Fields create tables Anything But you would want.
### View: Linked Fields
@ -149,7 +151,9 @@ Now we had a very basic Table Field that's one table But Yeah that's At least no
[00:29:16](https://www.youtube.com/watch?v=S9heClCWJrg&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h29m16s)
This August translated into Basic database language so typically it's MySQL queries And all the aspects obviously is How to Create relationships because having one table Probably he refers to other tables And that's why I this Is called a joint. I don't think [00:29:31](https://www.youtube.com/watch?v=S9heClCWJrg&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h29m31s) But Now you see your OK series single as B joint a series equal Yeah you find your joining queries between your tables So for that view You got 1 combined table That's also all the information To be displayed Which is kind of very Powerful. So indirectly I have joints to the gooey [00:29:58](https://www.youtube.com/watch?v=S9heClCWJrg&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h29m58s) No define dynamically you can add. Can you multiple joints. Yes you can add as many as you want here. So there's no actual limitation to it this will just really translate 1 to 1 in MySQL stuff Yes this is a repeatable field you can an add in as many as you want them as complex as you want. I can see but you can make any kind of joints. Yes Left joint right joint in a joint out the joint So in just that combination we being able to [00:30:44](https://www.youtube.com/watch?v=S9heClCWJrg&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h30m44s) Joint tables Add the filtering That's an awful lot you can already do At database level What you can't do a database level you can do at the PHP level where I sort the Get list items you could do additional stuff there So options are Forcefully Limitless.
This August translated into Basic database language so typically it's MySQL queries And all the aspects obviously is How to Create relationships because having one table Probably he refers to other tables And that's why I this Is called a joint. I don't think [00:29:31](https://www.youtube.com/watch?v=S9heClCWJrg&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h29m31s) But Now you see your OK series single as B joint a series equal Yeah you find your joining queries between your tables So for that view You got 1 combined table That's also all the information To be displayed Which is kind of very Powerful. So indirectly I have joints to the gooey.
[00:29:58](https://www.youtube.com/watch?v=S9heClCWJrg&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h29m58s) No define dynamically you can add. Can you multiple joints. Yes you can add as many as you want here. So there's no actual limitation to it this will just really translate 1 to 1 in MySQL stuff Yes this is a repeatable field you can an add in as many as you want them as complex as you want. I can see but you can make any kind of joints. Yes Left joint right joint in a joint out the joint So in just that combination we being able to [00:30:44](https://www.youtube.com/watch?v=S9heClCWJrg&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h30m44s) Joint tables Add the filtering That's an awful lot you can already do At database level What you can't do a database level you can do at the PHP level where I sort the Get list items you could do additional stuff there So options are Forcefully Limitless.
### Custom Code
@ -161,7 +165,11 @@ This August translated into Basic database language so typically it's MySQL quer
[00:32:17](https://www.youtube.com/watch?v=S9heClCWJrg&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h32m17s)
Ok, this should have been the bespoke code and not the custom code because that's to me the Unicorn thing of this Component Builder and this is what got me interested in it. There's a lot of options in there but for whatever reason I always end up wanting to change something that can't be changed directly in the gooey. [00:32:44](https://www.youtube.com/watch?v=S9heClCWJrg&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h32m44s) and That's why I this Computer component builder excels I think Because it will allow you to Add code or change code anywhere In your compiled component The only limitation is that you have to Add some Structure on that are commenting on that so that it can be found so that's insert place like this and in with that anything in between there Will be inserted [00:33:17](https://www.youtube.com/watch?v=S9heClCWJrg&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h33m17s) The beauty of it if you do that The Builder tool will extract these pieces of code And the next time around you build it it will re insert them So you will Be able to change stuff at any location be it and PHP or HTML And Have it be imported So that would for example mean if you now have a 3.x components [00:33:47](https://www.youtube.com/watch?v=S9heClCWJrg&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h33m47s) Which has a shortened file layout structure etc. etc. If In a few months time There is a version that can build for Joomla 4.0 Your changes will be put In the relevant files in all the locations I won't need worry about it It will just build With your cross and changes that with Joomla 4 [00:34:15](https://www.youtube.com/watch?v=S9heClCWJrg&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h34m15s) for those Familiar Joomla 4 has a slightly Was it works with Joomla 3 The directory structure and file structure That's not the best practice the best practices Baffles or Shuffle around a little bit Anybody wants to know just ask George He'll be happy to tell you about it There is a I've listed the number a number of stuff so you can say insert this or replace a piece of it [00:34:51](https://www.youtube.com/watch?v=S9heClCWJrg&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h34m51s) existing code And So when it so you see what happens when it gets Added back in the get again And add some tags so that it can do its homework and actually knows which piece of soft phrase change that what Location So this was really what got me enthusiastic about this tool because this is not something I've seen Before [00:35:18](https://www.youtube.com/watch?v=S9heClCWJrg&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h35m18s) And it'll allow for Roundtrip development created it in gooey Modify to your extent in you can already modify lot in the component builder itself If not you can change it anywhere else And it will be sucked in again And then if you want to add a new Database table in new few extra columns Joomla component builder will take care of that it will create a associated update script for the MySQL databases It will do everything.
Ok, this should have been the bespoke code and not the custom code because that's to me the Unicorn thing of this Component Builder and this is what got me interested in it. There's a lot of options in there but for whatever reason I always end up wanting to change something that can't be changed directly in the gooey. [00:32:44](https://www.youtube.com/watch?v=S9heClCWJrg&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h32m44s) and That's why I this Computer component builder excels I think Because it will allow you to Add code or change code anywhere In your compiled component The only limitation is that you have to Add some Structure on that are commenting on that so that it can be found so that's insert place like this and in with that anything in between there Will be inserted [00:33:17](https://www.youtube.com/watch?v=S9heClCWJrg&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h33m17s)
The beauty of it if you do that The Builder tool will extract these pieces of code And the next time around you build it it will re insert them So you will Be able to change stuff at any location be it and PHP or HTML And Have it be imported So that would for example mean if you now have a 3.x components [00:33:47](https://www.youtube.com/watch?v=S9heClCWJrg&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h33m47s) Which has a shortened file layout structure etc. etc. If In a few months time There is a version that can build for Joomla 4.0 Your changes will be put In the relevant files in all the locations I won't need worry about it It will just build With your cross and changes that with Joomla 4 [00:34:15](https://www.youtube.com/watch?v=S9heClCWJrg&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h34m15s) for those Familiar Joomla 4 has a slightly Was it works with Joomla 3 The directory structure and file structure That's not the best practice the best practices Baffles or Shuffle around a little bit Anybody wants to know just ask George He'll be happy to tell you about it There is a I've listed the number a number of stuff so you can say insert this or replace a piece of it [00:34:51](https://www.youtube.com/watch?v=S9heClCWJrg&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h34m51s) existing code And So when it so you see what happens when it gets Added back in the get again And add some tags so that it can do its homework and actually knows which piece of soft phrase change that what Location So this was really what got me enthusiastic about this tool because this is not something I've seen Before. [00:35:18](https://www.youtube.com/watch?v=S9heClCWJrg&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h35m18s)
And it'll allow for Roundtrip development created it in gooey Modify to your extent in you can already modify lot in the component builder itself If not you can change it anywhere else And it will be sucked in again And then if you want to add a new Database table in new few extra columns Joomla component builder will take care of that it will create a associated update script for the MySQL databases It will do everything.
### Compiler
@ -185,4 +193,4 @@ This August translated into Basic database language so typically it's MySQL quer
[00:44:29](https://www.youtube.com/watch?v=S9heClCWJrg&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h44m29s)
Any questions of this It's a lot to take a knife and try I actually don't know I know he has employees But I actually don't know how big his company is the Picture of the office building is huge office building but I don't think he owns it all. This is a huge thing I guess you didn't click this together in one afternoon at least he didn't no absolute not he work very hard the last days. It isa real good package. why didn't we heard of it before I don't know I have you have heard or came across it before and that's actually how I urged it my son to use it I actually heard of it years back but to me it's a bit like Joomla itself I heard about it but only when I saw that it started to be multilingual and that access control in the core I got interested [00:45:20](https://www.youtube.com/watch?v=S9heClCWJrg&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h45m20s) And the thing that got me interested in here is the fact that I can do modification in any location of my Component I have no limitations on that and I can still do aroundtrip development By giving back obviously Llewellyn hope someone's Everybody to contribute as so that we He can extend this even further And I've already started to talk with my friend from the JoomDD To see if there's maybe that's Common Ground because I also very much like their idea about having model driven Development Don't know how to reach it yet but since it's now going to be open source two ways the option exist [00:46:05](https://www.youtube.com/watch?v=S9heClCWJrg&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h46m05s) And that's really exciting to me. Yeah you could use it but you couldn't change it and It was totally free And you could use it for free but you could you couldn't have the mapped component and so the one that builds itself and change that And you wouldn't have the Example components example components so that you could look how does he do this how does he Filter how does he do this And starting Yeah but starting today you have two example components that Will really help you on the libs that I struggled in finding things out [00:46:59](https://www.youtube.com/watch?v=S9heClCWJrg&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h46m59s) And you have a Joomla component builder where I hope that the community will take it up and Ok So i've been signal that it's Janz Thank you Janz If there's any more questions just Ask me when I'm moving around
Any questions of this It's a lot to take a knife and try I actually don't know I know he has employees But I actually don't know how big his company is the Picture of the office building is huge office building but I don't think he owns it all. This is a huge thing I guess you didn't click this together in one afternoon at least he didn't no absolute not he work very hard the last days. It isa real good package. why didn't we heard of it before I don't know I have you have heard or came across it before and that's actually how I urged it my son to use it I actually heard of it years back but to me it's a bit like Joomla itself I heard about it but only when I saw that it started to be multilingual and that access control in the core I got interested [00:45:20](https://www.youtube.com/watch?v=S9heClCWJrg&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h45m20s) And the thing that got me interested in here is the fact that I can do modification in any location of my Component I have no limitations on that and I can still do aroundtrip development **By giving back obviously Llewellyn hope someone to contribute so that we can extend this even further** And I've already started to talk with my friend from the JoomDD To see if there's maybe that's Common Ground because I also very much like their idea about having model driven Development Don't know how to reach it yet but since it's now going to be open source two ways the option exist [00:46:05](https://www.youtube.com/watch?v=S9heClCWJrg&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h46m05s) And that's really exciting to me. Yeah you could use it but you couldn't change it and It was totally free And you could use it for free but you could you couldn't have the mapped component and so the one that builds itself and change that And you wouldn't have the Example components example components so that you could look how does he do this how does he Filter how does he do this And starting Yeah but starting today you have two example components that Will really help you on the libs that I struggled in finding things out [00:46:59](https://www.youtube.com/watch?v=S9heClCWJrg&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h46m59s) And you have a Joomla component builder where I hope that the community will take it up and Ok So i've been signal that it's Janz Thank you Janz If there's any more questions just Ask me when I'm moving around