Hi James,

You make a valid point about the importance of SF and SD supporting
SQLStore3 in the near future. I plan to add support for the new database
structure to those extensions, as well as to Semantic Internal Objects,
which also has hardcoded calls to the SMW tables - ideally that can happen
in the next few weeks. I'm planning to do that by just adding "if"
statements to the relevant parts of the code, so that the SQL used changes
depending on which SQL store is being used. From my understanding of the
new DB structure, it shouldn't be that hard to do.

By the way, some people might argue that these extensions shouldn't be
making direct SQL calls at all, which is a valid point; but the problem is
that, as far as I know, there's no other way at the moment to retrieve (or,
in SIO's case, set) the necessary data. If someone wants to add such a
capability to SMW for the use of one or more of these extensions, I'd be
glad to discuss it.

-Yaron

On Fri, Sep 14, 2012 at 10:45 AM, James HK <jamesin.hongkon...@gmail.com>wrote:

> Hi,
>
> SMW 1.8beta has been released but some SMW core extensions (SF, SD
> etc.) using direct access to smw db tables that correspond to the
> SQLStore2 scheme[1]/[2] but are not compatible with the new SQLStore3
> scheme.
>
> In case of SF 2.5 one can use SMW 1.8/SQLStore2 but not SMW
> 1.8/SQLStore3 (because of the SQLStore2 specific db selects).
>
> How to resolve this situation that in both cases (SQLStore2/SQLStore3)
> the integration works without interference?
>
> I think this question needs some attention before releasing SMW 1.8
> because when people start using the SQLStore3 in combination with core
> extensions like Semantic Forms or Semantic Drilldown problems will
> occur at the current implementation state.
>
> [1]
> https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/SemanticForms.git;a=blob;f=includes/SF_AutocompleteAPI.php;h=8edc80fbefe0915a75451c2a9a6befa4f8033a14;hb=b95c7db0e1ab010fdeb3e70ef0692b8df406713a#l157
>
> [2]
> https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/SemanticDrilldown.git;a=blob;f=specials/SD_BrowseData.php;h=5f09df9f4259a598b6e23e86a9fc67f6eb7027c9;hb=HEAD#l266
>
> Cheers
>
>
> ------------------------------------------------------------------------------
> Got visibility?
> Most devs has no idea what their production app looks like.
> Find out how fast your code is with AppDynamics Lite.
> http://ad.doubleclick.net/clk;262219671;13503038;y?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> _______________________________________________
> Semediawiki-devel mailing list
> Semediawiki-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
>



-- 
WikiWorks · MediaWiki Consulting · http://wikiworks.com
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to