Comments (9)
It's not documented + optimized yet, but here we have a builder: https://github.com/radmiraal/TYPO3.TYPO3/blob/master/Classes/Service/ContentTypeSchemaBuilder.php
This builder renders the following yaml (which is parsed to an array): https://github.com/radmiraal/TYPO3.TYPO3/blob/master/Configuration/Settings.yaml
from createphp.
@radmiraal cool. one issue about reusing could be that createphp is dual licensed under GPL and MIT. are you the author of that class and can you authorize to use it under both licenses here?
from createphp.
The class is a rewrite of https://github.com/radmiraal/TYPO3.TYPO3/commit/a2a9a55755cbfa5577c7e3077e249e2b9ff5beb3 which is started by Mattias Nilsson, but I see I didn't leave much behind ;-) If you would need permission from him too, let me know. But hereby you're granted to use it in any way you like, we will release it under GPL3 or later.
from createphp.
@radmiraal Symfony CMF is under MIT license, which is why CreatePHP went with dual licensing in #7. If this were to be integrated here, then a dual license would be needed as @dbu mentioned.
from createphp.
I don't think we can double license just 1 class without problems, would have to discuss that... what would be another solution? move it to createphp?
from createphp.
@radmiraal that would be great, especially on longer term. CreatePHP ought to be the library providing all the necessary interfaces for integrating Create.js with a PHP back-end.
from createphp.
Hi guys,
sorry that I'm a bit late to the party, but I was stuck in some other projects (and I still am, so don't expect too much :-)
I'm not sure if I understand all this correctly, but the way I see it, CreatePHP needs to serve a JSON schema that is built from the type configuration. Since it's highly unlikely that createphp and typo3 use the same internal data structures, I guess we will have to write the converter ourselves anyways, so we don't really need to stress about relicensing existing classes.
the other question is of course when such an exporter will be written. I'll try to read up a bit on how this is supposed to work, but if anyone wants to jump in and take this task, be my guest :-)
from createphp.
there is more input for this in #26
missing features:
- implement xml metadata driver to collect all existing types: #30
- provide a method that generates a typemap string with javascript code to register all types
- figure out how we do the templates needed by VIE. render an empty object with the rdf metadata? this might end up looking different than how somebody renders entity bit by bit. can we allow to overwrite this rendering in a clever way?
from createphp.
TYPO3's contentSchemaBuilder seems to be now in http://forge.typo3.org/projects/package-typo3-typo3/repository/revisions/6711de14a86472c49ccea41cfcd897ab6abfe550/entry/Classes/TYPO3/TYPO3/Service/ContentTypeSchemaBuilder.php
from createphp.
Related Issues (20)
- how to properly create new items in collections HOT 15
- duplicate add buttons in collections HOT 6
- improve granular rendering HOT 14
- Twig extension broken HOT 2
- Better tests for Twig extension HOT 5
- undefined method RdfTypeFactory::getTypeByClass() in CreatephpExtension.php HOT 2
- error handling HOT 5
- Provide full access to node rendering API in Twig extension HOT 8
- Tag a new release HOT 8
- Hello World not working (support request) HOT 1
- Correct property configuration (support request) HOT 1
- do not use class name publicly HOT 1
- mixing mappers HOT 11
- Repository class name for ORM has slashes instead of backslashes because it's passed in the URL HOT 5
- Inheritance of RDF mapping
- RDF mapping by annotations and by yml
- usage of xmlns:prefix attribute 'not allowed' in html5 tags HOT 2
- Changing editor for different content types HOT 4
- release 1.1 HOT 7
- Images upload HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from createphp.