On 05/08/2013 10:12 AM, Jeroen De Dauw wrote:
>
> Some problems we are facing here:
>
> * Our (PHP) APIs are generally badly defined and poorly thought out.
> This applies to both MediaWiki core, SMW and other extensions. That
> makes it very hard not to end up breaking compatibility.
> * Code is not split into seperate components and tight coupling with
> unrelated things is made for not good reason. For instance, most of
> the SMW code could have been written in such a way that it would work
> without MW. Currently pretty much everything depends on it. This makes
> the code more complex and prone to breaking when changes in MW are made.
These two problems are a real issue with the MW code.  Antoine Musso
looked at making MW code distributable on packagist.org and saw some of
these very real problems. https://packagist.org/packages/mediawiki/core 
(I didn't realize till now that you were listed as a co-maintainer
there, Jeroen.)

There are some bits that could be separated out, but very few.  It would
be great to see if we could loosen the coupling and start using some
better practices for MW code, but that is something that most of the
WMF-oriented developers aren't going to worry about.

If SMW devs are interested in this, though, I think we have enough
critical mass here to begin working on it.

What do you think?

-- 
http://hexmode.com/

Imagination does not breed insanity. Exactly what does breed insanity
    is reason. Poets do not go mad; but chess-players do.
        -- G.K. Chesterson


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to