Speed Posted December 15, 2016 Share Posted December 15, 2016 The deeper I got into PW, it got me more curious on building modules. But unfortunately for me, I couldn't find any steps for beginner. Can anyone point me where or how can I get started? Thanks in advance Link to comment Share on other sites More sharing options...
netcarver Posted December 15, 2016 Share Posted December 15, 2016 Google is your friend, lots of results in there. Some of the more useful... Ben's beginner's tutorial on tuts+ Teppo's articles on textformatter modules and hooks (you'll need hooks if you are writing modules.) The example "Hello World" module that ships with PW. Other threads from the forum: A, B & C. Hope that helps! 6 Link to comment Share on other sites More sharing options...
Speed Posted December 15, 2016 Author Share Posted December 15, 2016 17 minutes ago, netcarver said: Google is your friend, lot's of results in there. Oh yeah, I have googled up... ALOT before I could ask question here in this thread ( I should have made that clear earlier). I always end up with different result like PW for beginner, some thread discussion on something else and etc... I guess, google isn't friendly to me today . Thank you for your help, everything you gave out will do good for me! 3 Link to comment Share on other sites More sharing options...
qtguru Posted December 15, 2016 Share Posted December 15, 2016 I started a tutorial but never got to finish it as Work got more tedious it has enough to get started. hopefully i should finish this off assuming API hasn't changed 2 Link to comment Share on other sites More sharing options...
szabesz Posted December 16, 2016 Share Posted December 16, 2016 Some more resources you might also find useful: http://modules.pw/ https://gist.github.com/blynx/92f9472712a823ef01180509b3e36ae1 https://processwire.com/api/ref/module/ 3 Link to comment Share on other sites More sharing options...
LostKobrakai Posted December 16, 2016 Share Posted December 16, 2016 I've learned a lot from looking into the core modules. 2 Link to comment Share on other sites More sharing options...
renobird Posted December 16, 2016 Share Posted December 16, 2016 I was just going to dredge up that simple example I posted, but @szabesz beat me to it. Start with something simple. Once you get the hang of the basics, more complicated things will become clearer. As LostKobrakai mentioned, looking at core (and/or 3rd party) modules is super helpful. Post code on the forums when you get stuck. 2 Link to comment Share on other sites More sharing options...
Speed Posted December 16, 2016 Author Share Posted December 16, 2016 11 hours ago, szabesz said: Some more resources you might also find useful: http://modules.pw/ https://gist.github.com/blynx/92f9472712a823ef01180509b3e36ae1 https://processwire.com/api/ref/module/ Thank you @szabesz 23 minutes ago, LostKobrakai said: I've learned a lot from looking into the core modules. @LostKobrakai I'd do same as you ... although collect some resources can increase better understanding how module works, especially help to detect bugs lot easier. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now