joomla-extensions / boilerplate

Boilerplate files for Joomla! extensions
GNU General Public License v2.0
99 stars 89 forks source link

Looking for Joomla 4 architecture based component boilerplate or tutorial #21

Open DonaldTrump88 opened 5 years ago

DonaldTrump88 commented 5 years ago

Hello, I am looking for fJoomla 4 architecture based component boilerplate code or tutorial. Will it be possible to add it?

roland-d commented 5 years ago

Hello @Ninja-007 There is no tutorial or boilerplate yet for Joomla 4. I am going to look into this now that Joomla 4 is getting more stable.

Thank you for the suggestion.

astridx commented 5 years ago

I have just read this issue. I've created a sample tutorial and boilerplate for me to get to know Joomla 4. The basis was this repo.

If you are interested you can find my sample code in this repository: https://github.com/astridx/boilerplate In the folder src there is the finished code/boilerplate. The tutorial folder has sub folders for each chapter. Each section builds on each other.

roland-d commented 5 years ago

@astridx Awesome, thank you for letting me know. I will look into your work and if you are OK with it, merge it into here at some point. PhpStorm can then use this for creating boilerplate code.

astridx commented 5 years ago

@roland-d Thank you for your response. At the moment only the code is ready. I plan to create a wiki, too. But it is difficult to make it short and simple and cover everything.

At the weekend I tested the code and it worked. I expect, that are some changes in the near future.

It would be great if you have a look and give me a feedback.

roland-d commented 5 years ago

Hello @astridx I have taken a quick look and it looks very good already. Well done !!! There is room for improvement and I can send you PRs with what I think should be changed :)

I agree, writing simple explanations is hard when the code is advanced ;)

alexandreelise commented 3 years ago

Hello super joomlers! Does anyone know who is responsible for the jetbrains joomla support plugin in phpstorm in the joomla community?

roland-d commented 3 years ago

@alexandreelise I know :) You know :) In general the community is but in particular I have contact with the developer. Do you have any questions?

alexandreelise commented 3 years ago

@roland-d Thanks for your reply. I would them to improve this plugin more in order to have something like model controller view generator with custom code templates specific to joomla. I know it can be done without a phpstorm plugin using live templates but it's quite tedious. If it can't be done in phpstorm joomla support I would like to contribute to this repo with you super joomlers and make it available in the new joomla 4 console. I am currently working on something called "jiji" your new console friend for joomla 4 it will be available free of charge and open source on my repo not yet published on github but soon will. I'm kinda of command line guy. I like it a lot and I wanna help other super joomlers learn it too. With joomla 4 console based on symfony console it will make the whole thing a lot easier to grasp even for beginners. That's it for now. I'm waiting for your feedback

roland-d commented 3 years ago

@alexandreelise Do you have any example of such generator? Currently what PhpStorm does is checkout the branch and replace variables throughout the boilerplates that we have.

alexandreelise commented 3 years ago

@roland-d Not yet but it's on my todo list If you wanna help as you are very knowledgeable on phpstorm and joomla. I saw your talk on youtube with really cool presentation helping joomla developers men and women learn and grow quickly with this ide. I plan to do this but in French as I am French and want to make the French joomla developers grow as well. I leave the English content to native English speakers. I am willing to help the community grow mainly developers as it's what i like the most: coding.

roland-d commented 3 years ago

@alexandreelise Unfortunately I have no time to spare at the moment to help in the development. A question here or there is not a problem but not dedication.

alexandreelise commented 3 years ago

@roland-d No problem.I can understand that. Take care super joomler.