Module Development tutorial

ZonaX
ZonaX's picture

Joined: 2006-11-02
Posts: 64
Posted: Tue, 2006-11-07 09:39

I am starting this topic because as some have seen in previous topics, i really would like to make G2 modules.

But after.. 3 days i can only send text to the screen, something you would be able to do within 1 hour when learning the PHP language.

It might sound very selfish, but i dont mean it like that.. Are there people who want to make a big (wiki page?) article of how doing very.. Very much in G2 development.

I made this topic because i know quite much people who dont make modules but really want to.. But it is just to dificult to learn such complex code with one minimal-explaining tutorial, and followed by just reading code of other coders to maybe understand what they are doing.

I am willing to host the wiki on my webspace, and i can write a big article of PHP. For PHP is quite needed for coding modules.

I really hope you dont see this as a selfish request to teach me, but its just that i know how hard it is to learn how to make modules.

Please help :)

- Jim aka ZonaX

Login or register to post comments
ckdake
ckdake's picture

Joined: 2004-02-18
Posts: 2219
Posted: Fri, 2006-11-10 17:48

Does http://codex.gallery2.org/index.php/Gallery2:Module_Development_Tutorial meet your needs?

--
http://ckdake.com/

If you found my help useful, please consider donating to Gallery.

Login or register to post comments
ZonaX
ZonaX's picture

Joined: 2006-11-02
Posts: 64
Posted: Mon, 2006-11-13 07:31

Sorry for the late reply. This tutorial is very nice for understanding the basics of module development. What i think is a bit needed, is explaining what wich part of the code dous what? So people understand what "that" piece of code is doing there.

I am beginning to understand some basics, soon i will start uploading a wiki to my webspace. And ofcourse i will write the first basics tutorial :)

Login or register to post comments
valiant

Joined: 2003-01-04
Posts: 32506
Posted: Mon, 2006-11-13 09:33

see:
http://gallery.menalto.com/node/36885#comment-134279

this is linked from documentation -> development concepts.

Login or register to post comments
ZonaX
ZonaX's picture

Joined: 2006-11-02
Posts: 64
Posted: Thu, 2007-01-18 13:39

If this is too much of a topic kick (9 weeks) please remove it. :)

Like i said 2 months ago, i would like to make a tutorial. Because im a man of my word (^_^) I started a tutorial. At the moment its very basic. But i will continue writing tutorials i hope monthly. In stead of the known tutorial, I'm trying to explain as much as posible about the development.

You can find the tutorial here: Gallery2 Module Development

Signature____________
Have any comment to this post and dont want to place a comment via the forum? Feel free to mail me: Send My A Save Email System

Login or register to post comments
ZonaX
ZonaX's picture

Joined: 2006-11-02
Posts: 64
Posted: Fri, 2007-02-23 07:08

I finished the second tutorial yesterday. This time it's about making tables that work with g2. The inserting, searching etc isn't done yet, i hope i will finish that soon. (need some files from my pc at work)

You can find the tutorial here: Gallery 2 Module Development: Database part 1

I'll go back to the basics like making template files ASAP, I think it's better to finish the DB tutorial first.

Signature____________
Have any comment to this post and dont want to place a comment via the forum? Feel free to mail me: Send My A Save Email System :: Visit my module development tutorial at Combined-Minds.net

Login or register to post comments
Seagate

Joined: 2007-02-15
Posts: 12
Posted: Fri, 2007-02-23 09:00

gj, but waiting for the output commands ( part 2 ) :D

I think you did a good job but some 1 should create a little example.
Only how to create a db, for example a litte userlist and how to delete , request and update this.

I think examples are very important and @ vailant this is 1 of the reason.
Don't write a Tutorial without an example.
I think some links in your tutorial ( example 1 : explain ) ( example 2 : explain )....
Documentate this and the examples are detailed explained the user would be very happy because the best way to learn is still " learning by doing "

Sea

Login or register to post comments
ZonaX
ZonaX's picture

Joined: 2006-11-02
Posts: 64
Posted: Sun, 2007-03-11 15:40

I've finished my third Gallery2 Module Development tutorial. This continues with the normal learning pace, learning how to make a static page.

You can find the tutorial here: Gallery 2 Module Development: Templates

Next time i will continue a little bit with the templates, stuff like sending variables to the template. And i will also introduce you to blocks! When we have learned that, i will introduce you to working with forms in gallery!

Please reply to this topic if you have found bugs, english language faults. Or just some other thing i have (again) done wrong! :)

Signature____________
Visit my module development tutorials at Combined-Minds.net

Login or register to post comments
Makea

Joined: 2005-05-11
Posts: 7
Posted: Sun, 2008-02-03 01:21

Great tutorials, perfectly supplementing the official tutorial.

It's really too bad that there hasn't been much more development documentation efforts from the community since your last tutorial.

Login or register to post comments