<div dir="ltr"><div><div><div>I can agree to include plone.api into the core and, as a start, it could:<br>1 - be just a dependency of Products.CMFPlone to make it available ootb. once it's in , it will become mainstream and it will be much more easy.<br>
2 - on a second phase, someone have to select few api's calls and go around the core code with sed substituting the calls everywhere. To whoever will do this, please keep things consistent. if you decide to use a call, then this become the mainstream and it should be used everywhere.<br>
</div>3 - on a medium-long term, I would refactor the api's methods for no being wrappers around other core's methods anymore. It's a waste of time and plone is already not the fastest guy out there. I would move the real code from the original place (where possible) to plone.api and then make the original methods just a wrapper of the api's call.<br>
<br></div>my 2©<br></div>Giacomo<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-06-19 11:48 GMT+02:00 Nejc Zupan <span dir="ltr"><<a href="mailto:nejc.zupan@gmail.com" target="_blank">nejc.zupan@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 19. jun. 2014, at 11:21, Johannes Raggam <<a href="mailto:raggam-nl@adm.at">raggam-nl@adm.at</a>> wrote:<br>
<br>
> Nejc, get plone.api in, and think about your FWT capabilities<br>
> afterwards :) Or are there any big blockers?<br>
<br>
Mainly, I don't know how to include it in core. Should core use it or not?<br>
If not, how to make sure we are not using it in core? If yes, when & where?<br>
<br>
Been thinking about it for over a year now, without any breakthrough ...<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
z.<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Framework-Team mailing list<br>
<a href="mailto:Framework-Team@lists.plone.org">Framework-Team@lists.plone.org</a><br>
<a href="https://lists.plone.org/mailman/listinfo/plone-framework-team" target="_blank">https://lists.plone.org/mailman/listinfo/plone-framework-team</a><br>
</div></div></blockquote></div><br></div>