You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just tried to write my first plugin for craft3 but found it quite hard to bring all peaces together. Before I write a plugin I have to get pieces from three different places right now:
Yii docs
Craft 3 Class Reference
Craft 3 docs und somehow also Craft 2 Docs as the 3 docs don't look complete
But there is still a example missing, how everything works together. I remember how I got into meteor.js which has now quite great tutorials to start by creating a app step by step.
So it would be great to have such a thing for plugins in craft 3 which does the following things:
Writing a plugin with a twig extension, settings in the config, some settings should be also changable in the CP, accessing a Service through craft.myplugin.*, basic error handling/logging, getting input values from the website and writing the data to a custom database table and displaying it again on the website. So basic routing is also included.
Maybe the classical TODO app would be good to way to do by it or similar. But such a tutorial/guide mix is definitely missing but would dramatically improve the learning curve.
This discussion was converted from issue #15 on December 21, 2021 11:20.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I just tried to write my first plugin for craft3 but found it quite hard to bring all peaces together. Before I write a plugin I have to get pieces from three different places right now:
But there is still a example missing, how everything works together. I remember how I got into meteor.js which has now quite great tutorials to start by creating a app step by step.
So it would be great to have such a thing for plugins in craft 3 which does the following things:
Writing a plugin with a twig extension, settings in the config, some settings should be also changable in the CP, accessing a Service through
craft.myplugin.*
, basic error handling/logging, getting input values from the website and writing the data to a custom database table and displaying it again on the website. So basic routing is also included.Maybe the classical TODO app would be good to way to do by it or similar. But such a tutorial/guide mix is definitely missing but would dramatically improve the learning curve.
Beta Was this translation helpful? Give feedback.
All reactions