--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cm...@googlegroups.com.
To post to this group, send an email to joomla-...@googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-cms.
For more options, visit https://groups.google.com/groups/opt_out.
When it comes to templates where do you stop. In the use case you give I would perhaps agree its a B/C break BUT what about the TFA additions as that wont work either if a template is overriding mod_login. Are we forever held back because someone overrides a core feature even if that is only a view.
Hi all,Is there anyone that would be willing to help define a public API? This would be a big help for stabilizing CMS updates and for focusing new unit tests around that API until it's fully covered.
--
Sorting out the "Extension Developer API" would be useful to the distributions project in that it would provide clarity as to what shouldn't change. With that, one could put into place a services layer to provide access to the v 3.5 API and the v 4 API. The concerns about change could be put to rest if the CMS had unit testing on the "Extension Developer API." Provided tests continue to pass, who cares what happens under the hood?
An API definition that broadly states "all executable code" limits what can be done with code that shouldn't really be used directly by extension developers anyway. Not as useful.
A "Framework Developers API" would be a different set of classes and methods.
Symfony uses an @api docblock key to help clarify their "Framework Developers API" since visibility really isn't enough. Joomla might need a @extension_api and @framework_api indicator to add to the docblocks.
This problem isn't unique to Joomla. Lots of projects have a great deal of code and are under pressure to stabilize and manage changes for third party developers. Sorting out the distinction of what they should or should not be using goes a long ways to empowering those working on architectural improvements internally.
--
The other way I look at this issue is that you effectively want to
write in exemptions to Semver (via some tag presumably) for part of
the API. I don't think that's a good idea because it won't help the
developers that know what they are doing, and the developers that
don't know what they are doing are still going to blame us for
problems of their own making anyway (and those developers aren't
driving this conversation anyway). Ergo, negative nett benefit because
we've wasted a lot of time for nothing.
On 18 November 2013 13:29, Amy Stephen <amyst...@gmail.com> wrote:
> If the Filesystem continues to be closely coupled to the CMS API, then, the
> CMS version would also have to increase a full version. There are no
> exemptions to change. If the API changes, then the version is bumped up a
> full count.
In isolation, correct. In reality it's not a good idea to mess with
method signatures. You'd be better to invent a new package to work
off, or you create proxy methods. There are lots of ways to solve this
kind of issue.
Which brings me to this point. And, I apologize in advance for stepping on toes. Call me a cynic or whatever. But I've at times wondered why there aren't any good consistent developer docs. The only plausible explanation I can come up with is it could be intentional. I've been in the background pre-fork and remember well some of the conversations around the support model some were staking their careers on. Good developer docs might be seen by some as a threat to that support model. I would hope that is not the case. I'm sure it's just a bandwidth issue. But the cynic in me has to wonder sometimes. That and I'm just getting old and cranky.
Cheers,
Victor Drover
Founder and CEO, Anything Digital LLC (BBB Accredited)
Co-founder, Watchful.li
262-309-4140 @AnythingDig | @watchfulli
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cm...@googlegroups.com.
Did you watch Den Nicholson's keynote? She had some good comments on documentation also.
Sure the docs are a mess - but if everyone's just going to talk and not actually do you may as well not bother.
Also just because you didn't write the code doesn't mean you can't write docs ;)
Here's my personal situation.
I don't like the Mediawiki for developer docs (end-user UI is fine) so
I don't contribute to it and have used my own resources because of it.
I do like Github and Markdown.
I think publishing books through the normal channels is a waste of
time and can't cope with change.
I'd much rather do community documentation than stuff on my own sites
- the community is more important to me than my site traffic.
I've started this: https://github.com/eddieajau/joomla-developer-docs
- this is for "explain how to use the API" stuff that Al is talking
about.
If anyone wants to help my one-man black-op working group, great (just
raise an issue to ask questions). If the project wants to take it
over, more than happy. The issue tracker can be used to compile a
backlog. But I'm not using Mediawiki.
I too am sick of this conversation ending with nothing happening.
Regards,
Andrew Eddie