Okay- thank you for the answers Jeroen
In short just my personal solutions for this questions I realized in the meantime. 1. This is sad. Unfortunately I have to code for a living- so there is mostly no time for free time developments. I can't help this way. 2. For this I now use hints related to hidden inputs of SF and envent driven Wiki-text processing. In general this may could be a little bit smarter. 2.1 Looks like it could be worth a bug report. 3. I clarified this with Stephan (SF). I'm using the SF-API instead until we get a better documentation level related to the "CRUD-thing". I'm now ready to develope some interesting SMW-stuff :-). In my opinion the "CRUD-thing" which is very essential for new innovations should have the same documentation level as the semantic result formats with its boilerplate. This would open new dimensions for web-tech-profesionals, extension developers. Equipped with the new inforamtions I've got over the last weeks, I'm just finishing my first SMW-projects, a new interactive result format and an enterprise level semantic document workflow. Thank you all for answering my questions and happy codings. Stefan PS: My personal solutions related to the "CRUD-thing" Create (properties in user land) = Semantic forms + MW hooks + text processing Read = found code examples working in own extensions Update = SF-API Delete = Wiki Page-deletes + text processing -----Ursprüngliche Nachricht----- Von: Jeroen De Dauw [mailto:jeroended...@gmail.com] Gesendet: Montag, 11. März 2013 16:21 An: Lists Cc: semediawiki-devel@lists.sourceforge.net Betreff: Re: [SMW-devel] SMW-Properties, PHP and developments Hey, 1. Unfortunately we did not succeed in using the SMWWriter extension. Is this project still maintained. Did someone used it with MW 1.20.x and SMW 1.8.x? I suspect this extension does not work with SMW 1.6 and later. Looks like no one is maintaining it. It is not even in Git as far as I can see. If someone wants to maintain this extension and fix it up to work with latest SMW (this task is not that hard), please start by getting a new WMF git repo and migrate the code from the old SVN. 2. When we are dealing with PHP-driven properties, we always produce special properties. How can we create and manipulate properties related to userland in PHP? Good question. I'd need to look at the code to figure this out. However since I don;t have the time to do this, I started a todo list for technical documentation we need, so we don't loose track of all the interesting questions that don't get an immediate answer. https://semantic-mediawiki.org/wiki/Technical_documentation_todo 2.1 How can we avoid doubling of values in a string typed property? Think there is no facility for this. 3. Instead of the SF-API we want to use our already established MW-API interface and poor PHP. Are there any additional resources how to manage this CRUD-things...create, read, update, delete semantic properties on an "official standard way" so that we can maintain our developments along this official standards in the long term? Afraid not. Not only is this not documented, the code in question does not clearly define where the boundaries are. You are thus forced for now to be cautious and ask SMW devs on a case by cases basis if you ought to be using some class or component in a certain way. We are making progress on the later point though still have a long way to go. Help with both points certainly is appreciated. Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. -- ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel