Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Plugin Suggestions
#17
Thought I'd give my 2 cents (since I've tried a lot of these examples and lost the will to continue on most of them and want you to be successful with it):
  • Try to consolidate your reusable code as early as possible. If you're developing loads of plugins you'll quickly find yourself redefining many of the same kinds of functions. Maybe turn to mvlcek's i18n plugins and i18n_base for inspiration?
  • Find a sensible way of structuring your codebase early and stick to it. I would reach the "end" of a project and start the next one very differently, leading to vastly different (and difficult to understand) codebases.
  • For creating and saving files, use the JSON file format. It's a much easier format to work with than XML since you just need to json_encode/decode your data and put/get the contents to/from the desired file, rather than faffing about with XML escaping and CDATA blocks.
  • If you can find an existing library/software that can be ported over and easily used in GetSimple, use it. You'll save yourself the headache of implementing your own solutions for functionality that others have potentially done better
  • Keep your ear to the ground for the current discussions on plugin development. If it turns out that the current plugins will be lagrely incompatible with releases in future (and I mean 4.0+), it might be prudent to design yours in a way that minimizes the teething troubles
  • If you build plugins that rely on user registration, either tie it to the existing user management plugins that we have or tie them to completely external services. You don't want to have to write your own user registration and authentication system.

Reply


Messages In This Thread
Plugin Suggestions - by HelgeSverre - 2015-07-04, 03:02:06
RE: Plugin Suggestions - by shawn_a - 2015-07-04, 03:08:17
RE: Plugin Suggestions - by HelgeSverre - 2015-07-04, 03:14:32
RE: Plugin Suggestions - by hameau - 2015-07-07, 22:13:14
RE: Plugin Suggestions - by Oleg06 - 2015-07-04, 04:11:04
RE: Plugin Suggestions - by Carlos - 2015-07-04, 07:43:01
RE: Plugin Suggestions - by HelgeSverre - 2015-07-04, 07:54:51
RE: Plugin Suggestions - by Timbow - 2015-07-05, 02:25:28
RE: Plugin Suggestions - by Oleg06 - 2015-07-04, 17:53:44
RE: Plugin Suggestions - by Riianna - 2015-07-05, 04:31:30
RE: Plugin Suggestions - by HelgeSverre - 2015-07-05, 06:55:31
RE: Plugin Suggestions - by projwest - 2015-07-05, 10:17:42
RE: Plugin Suggestions - by shawn_a - 2015-07-07, 11:29:53
RE: Plugin Suggestions - by datiswous - 2015-07-07, 21:57:08
RE: Plugin Suggestions - by datiswous - 2015-07-07, 22:03:21
RE: Plugin Suggestions - by Riianna - 2015-08-07, 20:25:47
RE: Plugin Suggestions - by elubben - 2015-08-08, 09:15:06
RE: Plugin Suggestions - by Angryboy - 2015-08-08, 08:04:03
RE: Plugin Suggestions - by shawn_a - 2015-08-08, 09:32:06
RE: Plugin Suggestions - by Carlos - 2015-08-08, 16:29:40
RE: Plugin Suggestions - by shawn_a - 2015-08-09, 01:08:19
RE: Plugin Suggestions - by elubben - 2015-08-09, 09:21:36
RE: Plugin Suggestions - by Riianna - 2016-08-19, 17:08:23
RE: Plugin Suggestions - by shawn_a - 2016-08-20, 02:08:53



Users browsing this thread: 1 Guest(s)