Comments (6)
These difficult issues. It's hard to replace ZTK-packages / conventions without replicating similar features by ourselves. And currently we don't test our code well enough to qualify.
zope.authentication
- zope.securitypolicy depends on zope.authentication interfaces
- zope.securitypolicy implements the security model we've used to in Plone
- I'd be careful in reinventing / reimplementing that
zcml
- as long as we use ZTK, we must support ZCML
- what could replace ZCML? venusian does nothing by itself, pyramid has its own venusian based configurator, pyramid_zcml depends on pyramid configurator
- I did propose my zope.configuration based/compatible venusianconfiguration at Barcelona Sprint, but it just scared everyone, and I had to refactor it out
@bloodbare needs to defend JSON-configuration; IMO JSON is no better than XML for humans to write :) (generated JSON is ok)
IMO, if we come up with Python based configuration, then decorators and includeme configuration should be obvious.
from plone.server.
Cancelled by changes in family schedules. Was too good to be true :) Yet, at some point I must experiment, if pyramid could be used with asyncio and without WSGI with a pattern that works with ZODB (default patterns won't work because of all the issues we have with plone.server). And if that works, that pattern could also be adapted to plone.server with ZTK (I just want to try it out with minimal stack at first).
from plone.server.
Maybe I just need to build on zope.authentication more. Or we still use zope.authentication but build pyramid-like patterns with it.
I'm just not very happy on initial look for using it. I've been playing with implementing https://github.com/pyrenees/pserver.zodbusers and find the current interfaces a little crud. I'd like to have a more elegant solution.
I don't want to re-implement anything--but barrow on the ideas... Use what works and has been a more popular choice.
That being said, you're point about ZCA and ZCML are well taken. I wish I would have noticed your discussion on the venusian zope configuration--might help me understand what would be best now.
from plone.server.
Did you already look into zope.principalregistry on how it implements non-persistent registry?
On 4. marraskuuta 2016 klo 16.30 +0200, Nathan Van Gheem [email protected], wrote:
Maybe I just need to build on zope.authentication more. Or we still use zope.authentication but build pyramid-like patterns with it.
I'm just not very happy on initial look for using it. I've been playing with implementing https://github.com/pyrenees/pserver.zodbusers and find the current interfaces a little crud. I'd like to have a more elegant solution.
I don't want to re-implement anything--but barrow on the ideas... Use what works and has been a more popular choice.
That being said, you're point about ZCA and ZCML are well taken. I wish I would have noticed your discussion on the venusian zope configuration--might help me understand what would be best now.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub (#11 (comment)), or mute the thread (https://github.com/notifications/unsubscribe-auth/AAJyvxq2udjCylmL1RnLLKAWsx-f1GvCks5q60FygaJpZM4KpTNn).
from plone.server.
No, I didn't. It looks like it could help in some cases.
from plone.server.
On plone.server there is two JSON:
One for the REST API : its main idea is that can be readed easier in code and we can generate documentation easily to see the API from it. @sneridagh was working on this parsing and generation.
One for the starting up configuration : This configuration is mainly written by machine on docker containers, so it needs to be something easy to serialize and deserialize. In my opinion JSON is the tool for this configuration.
I'm not fan of any format, just like the idea of use what needs to be used to make it easy and document it properly.
I like the non-persitent registry ! :)
from plone.server.
Related Issues (11)
- Can't run bin/server HOT 1
- How do I authenticate? HOT 8
- Unauthorized access results in 500 HOT 1
- Customizing allowed types HOT 3
- Should we use local component registry in addons? HOT 1
- Code style... HOT 3
- improving JSON configuration
- newtdb ideas/thoughts
- Is __allow_access__ necessary? HOT 1
- Use decorators to define endpoints 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 plone.server.