Latest Plone Posts
I'm Gonna Regret This
By chrism from Planet Plone. Published on Jun 14, 2016.A plea for liberals to fight for individual rights.
Wildcard to Present on Cybersecurity at PSU Web Conference
From Planet Plone. Published on Jun 10, 2016.Wildcard Director of Solutions Engineering will be at Pennsylvania State University Monday to present on cybersecurity best practices.
Searching for web/frontend freelancer (German-speaking, Germany-based)
From Planet Plone. Published on Jun 09, 2016.
Impressions of React Europe 2016
By Martijn Faassen from Planet Plone. Published on Jun 07, 2016.
Last week I went to the React Europe conference 2016 in Paris. It was a lot of fun and inspirational as well. I actually hadn't used React for about 6 months because I've been focusing on server-side stuff, in particular Morepath, but this really makes me want to go and work with it again (I'm available). I especially enjoy the creativity in the community.
In this post I want to give my impression of the conference, and highlight some talks that stood out to me. There are actually too many to highlight here: I thought the talk quality of this conference was very high. I also appreciated the wide range of topics -- not everything was about React directly. More of that, please!
I was quite worried about travel this year. I'm in the Netherlands, so it all should be so easy: hop in a train to go to Rotterdam, a 45 minute ride. Then take the Thalys that speeds from Rotterdam to Paris in about 3 hours. In total it takes about 4 hours. Awesome.
But it's strike season in France. Railway strikes were threatened. And then there was a railway strike in Belgium, through which the train passes, on the day I was to travel. Uh oh. I already got some warnings in the days in advance about possible train cancellations due to the strikes. But my train was still going.
But travel in the Netherlands at least wasn't disrupted, so I wasn't worried about that. I made it in time to the normal intercity train that brings me from my home town, Tilburg, to Rotterdam. Found a comfortable seat. All ready to go. Then an announcement: please leave the train as it can go no further. A cargo train had broken down ahead of us. Argh!
In the end I managed to get to Rotterdam and catch a later Thalys, and made it to Paris, just 2 hours later than I'd planned.
I was also worried about announced strikes in the Paris metro system on the day of the conference. Getting around in Paris is very convenient with the metro, but not if it isn't going. In the end the metro wasn't affected.
What I did not anticipate was the whole flood situation, to the point where they had to move parts of the inventory of the Louvre. But Paris is a big city and the floods did not affect me.
So in the end what I worried about never happened and stuff happened that I didn't worry about at all.
Hackathon and MobX
Like last year there was a hackathon one day ahead of the conference at the Mozilla offices in Paris.
Last year's hackathon was special: I met up with Lee Bannard and we worked on reselect, which became quite a popular little library for use with Redux. You might enjoy my story on that.
I was very happy to see Lee again at this year's hackathon. We didn't create any new code this time; we spent most of our time learning about MobX, which I first heard about that day. We met Devin Pastoor at the hackathon. He already had a little app that used MobX that he wanted to work on together. Lee and myself helped a little with it but then got distracted trying to figure out how MobX's magic works.
MobX is a state management library, typically used with React, that takes a different approach than the now dominant library for this, Redux. Mobx lets you use normal OOP style objects with state and references in your client-side model. Unlike Redux is does not require you to normalize your state. MobX observes changes to your objects automatically and is very clever about only updating the parts of the UI that are affected.
This gives MobX different tradeoffs than Redux. I haven't used MobX in practice at all, but I would say MobX is less verbose than Redux, and you get more performance out of the box automatically. I also think it would be easier for newcomers to adopt. On the other hand Redux's focus on the immutable state constraint simplifies testing and debugging, and opened up a rich ecosystem of extensions. Redux's implementation is also a lot simpler. People want a simple answer to "what is better", but these really are tradeoffs: which way is the right way for you and applications depends on who you are and what you are working on.
Sorry folks, Lee and I created no thing new this time. But we had fun.
Dan Abramov: The Redux Journey
Dan Abramov, one of my open source heroes, gave a very interesting talk where he talked about the quick and wild ride Redux has been on since last year. Redux was indeed everywhere at this conference, and people were building very cool stuff on top of it.
Dan explained how the constraints of the Redux architecture, such as reducers on immutable state, also lead to its stand-out features, such as simple debugging and persisting and sharing state. He also spoke about how Redux's well-defined minimal contracts help its extension and middleware ecosystem.
Dan's talk is interesting to anyone who is interested in framework design, even if you don't care about React or Redux at all.
Lin Clark: A cartoon guide to performance in React
Lin Clark gave a great talk where she explained why React can be fast, and how you can exploit its features to help it along. Explaining complex topics well to make them seem simple is hard, and so I appreciated how well she accomplished it.
If you are new to React this is a really good talk to watch!
Christopher Chedeau: Being Successful at Open Source
Christopher described what strategies Facebook uses when they open source stuff. I especially liked the question they made sure to ask: "What did you struggle with?". Not "what do you want?" as that can easily devolve into a wishlist discussion, but specifically asking about problems that newcomers had. One fun anecdote: the way to make a FAQ go away was not writing more documentation but changing an error message.
I also liked the clever "fake it until you make it" approach to making a community appear more active than it is in the early stages, so that it actually becomes active. One trick they used is to ask people to blog about React, then publish all those links on a regular basis.
As an individual developer who occasionally open sources stuff I must point out rule 0 for open source success is "be a huge company with lots of resources like Facebook". Without those resources it is a much bigger struggle to build an open source community. (It also doesn't help that with Morepath I picked a saturated space: Python web frameworks. It's hard to convince people it's innovative. But that was the same problem React faced when it was first released.) (UPDATE: of course Facebook-level resources are not required for open source success, there are a lot of counter examples, but it sure helps. The talk mentions a team of multiple people engaging the community through multiple routes. A single individual can't replicate that at the start.)
Nevertheless, open source success for React was by no means guaranteed, and React helped make Facebook's reputation among developers. They made the React open source community really work. Kudos.
Dan Schafer: GraphQL at Facebook
I liked Dan Schafer's talk: a nice quick recap of why GraphQL is the way it is, some clear advice on how to deal with authorization in GraphQL, then a nice discussion on how to implement efficient queries with GraphQL, and why GraphQL cache keys are the way they are. Clear, focused and pragmatic, while still going into to the why of things, and without overwhelming detail.
Jeff Morrison: A Deepdive into Flow
Cheng Lou: On the Spectrum of Abstraction
This talk, which isn't about React, really stood out for me, and from what I heard also resonated with others at the conference. It tied neatly into the themes Dan Abramov already set up in his opening talk about Redux. Dan told me later this was not actually coordinated. The ideas are just in the air, and this speaks for the thoughtfulness of the React community.
Cheng Lou's talk was a very high level talk about the benefits and the costs of abstraction. This is something I care about a lot as a developer: how do I avoid over-engineering and under-engineering (I've written about it before), and solve problems at the right level? Software has many forces on many levels pulling at it, from end-users to low-level details, and how do you balance out these forces? Engineering is so much about dealing with tradeoffs. How do you even communicate about this?
The next day I had an interesting chat with Cheng Lou about his talk, where he discussed various things he had to cut out of his talk so it wouldn't be too long. He also mentioned Up and Down the Ladder of Abstraction by Bret Victor, so that is now on my reading list.
I highly recommend this talk for anyone interested in these topics.
Preethi Kasireddy: Going from 0 to full-time software engineer in 6 months
This was a 5 minute lightning talk with a personal story: how overwhelming software development is to a newcomer and how it can nonetheless be learned. During the talk I was sitting next to someone who was relatively new to software development himself and I could see how much this talk resonated with him.
Preethi Kasireddy also encouraged more experienced developers to mentor newcomers. I've found myself that mentoring doesn't have to take a lot of time and can still be hugely appreciated. It's fun to do as well.
A new developer is often insecure as there are just so many things to grasp, and experienced developers seem to know so much. Ironically I sometimes feel insecure as an older, more experienced developer as well, when I see people like Preethi learn software development as quickly as they do. I certainly took more time to get where they are.
But I'm old enough to have gotten used to intimidatingly smart younger people too. I can keep up. The Internet overall helps with learning: the resources on the Internet for a new developer may be overwhelming, but they are also of tremendous value. Preethi called for more intermediate-level resources. I am not sure this series I wrote counts; I suspect Preethi is beyond it, but perhaps others will enjoy it.
(Video not up yet! I'll update this post when it is.)
Jonas Gebhardt: Evolving the Visual Programming Environment with React
This was another one of those non-React talks I really appreciated. It is related to React as it is both inspired by functional programming patterns and component-based design, but it's really about something else: a UI to construct programs by connecting boxes with arrows.
There are many of these around. Because these don't seem to ever enter the daily life of a programmer, I tend to be skeptical about them.
But Jonas Gebhardt acknowledged the prior art, and the approach he described is pragmatic. An open world approach in the web browser, unlike many of the "we are the world" sandbox implementations from the past. Annotated React components can serve as the building blocks. He even sketched out an idea on how to connect UI input and output to custom user interfaces in the end.
So I came away less skeptical. This approach has potential and I'd like to see more.
Bonnie Eisenman: React Native Retrospective
React Native is a potential game changer to me as it lets people like me use our deep web development experience to build phone apps. The talk made me excited to go and play with React Native, and I'm sure I wasn't the only one. In a chat afterwards, Bonnie confirmed that was a goal of her talk, so mission accomplished!
Phil Holden: subdivide and redux-swarmlog
Phil Holden gave a 5 minute lightning talk, but please give him more space next time. He discussed Subdivide, an advanced split pane layout system for React, and then also discussed another mind-blowing topic: using WebRTC to create a peer to peer network between multiple Redux frontends, so that they share actions. This lets users share data without a server being around. This he packaged as a library in a package called redux-swarmlog.
I've been thinking about peer to peer serverless web applications for some years as I believe they have the potential to change the web, and Phil's talk really reignited that interest. Peer to peer is hard, but the technology is improving. Later that day, I had the pleasure of having a brief chat with Phil about such wild topics. Thanks Phil for the inspiration!
(Video not up yet! I'll update this post when it is.)
Andrew Clark: Recomposing your React application
Andrew Clark is Internet-famous to me, as he created Flummox, the Flux state management framework I used before switching to Redux (Andrew in fact co-created Redux). In this talk he discusses recompose, a library he wrote that helps you do sophisticated things with pure, stateless function components in React. I need to play with it and see whether it fits in my React toolbox. Andrew also described the interesting techniques recompose uses to help reduce the overhead of small composed functions -- this highlights the properties you gain when you stick to the pure function constraint.
Jafar Husain: Falcor: One Model Everywhere
When multiple development teams have a similar idea at about the same time, that may be a sign the idea is a good one. This happened to me when I came up with a client-side web framework few years ago, thought I was onto something new, and then Backbone emerged, followed by many others.
Jafar Husain in this well-done talk described how Falcor and GraphQL were a similar solution to similar problems. Both Falcor and GraphQL let the client be in control of what data it demands from the server. He then highlighted the differences between Falcor and GraphQL, where he contrasted Falcor's more lightweight approach to GraphQL's more powerful but involved focus on schemas. It's tradeoffs again: which fits best depends on your use cases and team.
Laney Kuenzel & Lee Byron: GraphQL Future
This was a wide-ranging talk that went into various issues that GraphQL team at Facebook is trying to solve, mostly centered about the need to receive some form of immediate update when state on the server changes. Laney and Lee presented various solutions in a various states of readiness, from mostly untested ideas to stuff that is already deployed in production at Facebook. Very interesting in you're interested in GraphQL at all, and also if you're interested in how smart people tackle problems.
In my blog post last year I was clear I enjoyed the conference a lot, but also engaged in a little bit of constructive criticism. I don't presume that the React Europe organizers directly responded to my feedback, but let's see how they did anyway and give a bit more feedback here. My intent with this feedback is to do my bit to make a great conference even better.
Last year the conference was in early July in Paris and it was 40 degrees Celsius. The React Europe team responded by shifting conference a month earlier. It was not too hot: problem solved.
Last year the hackathon assumed people were going to compete in a contest by default instead of cooperate on cool projects. This year they were very clear that cooperation on cool projects was encouraged. Awesome!
Still, I found myself walking around Paris with a friend on Friday night trying to find a quiet place so we could look at some code together. We enjoyed the conversation but we didn't find such a place in the end.
This is why I prefer the approach Python conferences take: a 1-3 day optional sprint for people to participate in after the conference has ended. Why I like afterwards better:
- You can get involved in cool projects you learned about during the conference.
- You can get to know people you met during the conference better.
- Since there is no pressure it's a good way to wind down. Speakers can participate without stressing out about a talk they will be giving soon.
Many of the speakers at this conference work for Facebook. They gave excellent talks: thank you. I understand that having a lot of speakers from Facebook is natural for a conference on React, as that's where it originated. (and Facebook hires people from the community). But this is an open source community. While I realize you'd take on more unknown quantities and it would be more difficult to keep up the quality of the talks, I would personally enjoy hearing a few more voices not from Facebook next year.
Last year I spoke about a bit gender diversity at the conference. This year there were more female speakers than last year (keep it up!), but male voices were still the vast majority. Women speakers are important in helping women participants feel more welcome in our conferences and our community. We can still do a lot better: let's learn from PyCon US.
The train ride back home on Saturday morning was as it should: uneventful. Left the hotel around 9 am the morning, was back home around 2:30 pm. I came home tired but inspired, as it should be after a good conference. Thanks so much to the organizers and speakers for the experience! I hope you have enjoyed my little contribution.
Plone theme development- part 2
By Vikas Parashar from Planet Plone. Published on Jun 06, 2016.
eGenix PyRun - One file Python Runtime 2.2.1 GA
From Planet Plone. Published on Jun 06, 2016.
eGenix PyRun™ is our open source, one file, no installation version of Python, making the distribution of a Python interpreter to run based scripts and applications to Unix based systems as simple as copying a single file.
eGenix PyRun's executable only needs 11MB for Python 2 and 13MB for Python 3, but still supports most Python application and scripts - and it can be compressed to just 3-4MB using upx, if needed.
Compared to a regular Python installation of typically 100MB on disk, eGenix PyRun is ideal for applications and scripts that need to be distributed to several target machines, client installations or customers.
It makes "installing" Python on a Unix based system as simple as copying a single file.
eGenix has been using eGenix PyRun internally in the mxODBC Connect Server
product since 2008 with great success and decided to make it available as a
stand-alone open-source product.
We provide both the source archive to build your own eGenix PyRun, as well as pre-compiled binaries for Linux, FreeBSD and Mac OS X, as 32- and 64-bit versions. The binaries can be downloaded manually, or you can let our automatic install script install-pyrun take care of the installation:
./install-pyrun dir and you're done.
Please see the product page for more details:
This minor level release of eGenix PyRun comes with the following enhancements:
Enhancements / Changes
- Fixed support for -u command line option with Python 3. Since this is used by pip since version 8.0, it also removes issues with pip.
- Removed ensurepip package from PyRun since this only works with access to the bundled whl files. This is incompatible with the frozen nature of packages in PyRun.
- Added support for setting the OpenSSL path to the Makefile and have it look in /usr/local/ssl before reverting to system dirs to make it easier to link against more recent builds of OpenSSL.
- Linking against OpenSSL 1.0.2 now on Mac OS X for the precompiled pyrun binaries. You may have to set your shared linker path to point to the right OpenSSL version.
- Fixed install-pyrun to work with new PyPI package URL scheme (see https://bitbucket.org/pypa/pypi/issues/438/backwards-compatible-un-hashed-package). The options --pip-version=latest et al. should now work again.
- Updated install-pyrun to default to eGenix PyRun 2.2.1 and its feature set.
For a complete list of changes, please see the eGenix PyRun Changelog.
Please visit the eGenix PyRun product page for downloads, instructions on installation and documentation of the product.
Commercial support for this product is available directly from eGenix.com.
Please see the support section of our website for details.
For more information on eGenix PyRun, licensing and download instructions, please write to email@example.com.
Marc-Andre Lemburg, eGenix.com
python 3 support one (of the many) step closer
By gforcada from Planet Plone. Published on Jun 01, 2016.During the Barcelona sprint (report from Paul and Ramon) there was quite some work to bring dexterity related packages to work both in python 2.7 and python 3.5. That work is mostly still pending to be merged, because we had a blocker: our current CI infrastructure (namely jenkins master and its nodes) run on a … Continua la lectura de python 3 support one (of the many) step closer
The world's simplest Python template engine
From Planet Plone. Published on May 31, 2016.Let's have fun with Python format()
Beer at Work: the Wildcard Tradition
From Planet Plone. Published on May 31, 2016.Every few months, we choose a date to bring everyone at the company together to drink, have fun, and collectively work on a project. This tradition has come to be called Krausening.
Plone theme development- part 1
By Vikas Parashar from Planet Plone. Published on May 29, 2016.
ansible-playbook error "sudo: no tty present"
From Planet Plone. Published on May 28, 2016."sudo: no tty present and no askpass program specified"
What are we doing in PloneNG - Barcelona Sprint 2016
By Ramon Navarro Bosch (firstname.lastname@example.org) from Planet Plone. Published on May 27, 2016.One week later I could get some time to write down what we did and which ideas are behind the Barcelona Sprint 2016...
It all started two months ago when we where thinking about how we could organize Barcelona Sprint to be productive. We've already decided to create three teams, REST API, experimental new backend and frontend so we needed to see how a week sprint can be organized to reach some goals. At that moment I contacted Asko, Timo and Nathan to ask if they can lead each team and prepare a pre-sprint discussion (so we did not need a pillow fight for react vs angular,...) and the goals for the sprint. They did a great job and the result was a document:
With that document in mind, discussed with all sprinters that were coming and define our goals:
- API : reach a stable state so we can start building front and back with it.
- BACKEND : play, experiment and see if its possible to create our own backend for plone that is API centric and async.
- FRONTEND : have a prototype that solves most of the problems of creating a JS application powerful, customizable and on top of a content management API
So we started a really nice week with a lot of grey matter, nice weather and energy! I really want to thanks Barcelona Activa and Startup Bootcamp for holding our sprint in their facilities! It's been great to have so much space and resources to work and concentrate!
I also want to thank all sprinters, because it did it! We could accomplish and overcome all the goals! The faces of all sprinters by the end of the week was joy and proud, so it's been great!
Finally and not least I want a special thanks to all Iskra/Intranetum team to help making it possible, the ones who attended the sprint (Aleix, Alex, Berta and Marc) and the ones who stayed at the office (specially Eudald)
I've been talking with all three groups and mostly involved on the backend team, so I'll try to explain some backend decisions and results.
BackendRight now plone.server package on github.com/plone/plone.server is a WIP backend that has:
- ZTK security system to provide Permissions and Roles
- Annotation local roles on content objects
- Multisite system with DX Site object
- Plone.registry on top of site objects to hold all configuration
- Dexterity Content types (without CMF) and fti
- Credentials extraction and user factory customizable engine
- Aiohttp HTTP server
- Python 3.5+ support
- All the app works on a asyncio loop
- A new traversal with content and language negotiation based on API definition
- Extensible API definition on a json file
- Basic permission checkers
- Frame inspection based global request operation
- Websockets basic implementation
- Basic transaction support for asyncio
- Async parallel utilities to run parallel process
- Serialization of zope Schema to json
- plone.example package with dummy content type
There are two missing parts that are covered by external tools by now:
- Catalog: we decided to not catalog objects on the ZODB (at least right now) so we provide a transaction aware elasticsearch indexing functionality
- User DB and JWT generation: Iskra open sourced a custom OAuth server in python/redis/ldap (plone.oauth) aware about groups/roles that can provide global roles and JWT generation, so we integrated it on the plone.server (at least right now)
There is lots of things to work on, workflows, improve request, improve transactions on ZODB,... but it's a long term project!
Opinion on some concernsAbout MVCC, we can maintain it on the new core with three different approaches (thanks Asko!)
- For websockets create a single connection for each one and delegate to the client the commits.
- For API requests (PUT/POST/DELETE/PATCH) do a db.open to create a connection object for each request.
- For async utility that are not request aware create a connection for each one, with a non request aware DB object.
CI/CDplone.server, plone_client and plone.oauth are tested on travis-ci with the needed backend services to avoid mocking them using docker-compose.
plone.server, plone_client and plone.oauth are build on docker container by docker hub for each commit
After each plone.server build at docker hub a deployment is done to a sandbox cluster.
The main idea is to provide a continuous integration and continuous deployment story.
git clone https://github.com/pyrenees/docker.git
python get_token.py http://22.214.171.124:32144
# Choose any RAW token
# Call with you HTTP tool to
AUTHORIZATION: bearer ****RAWTOKEN****
Soon an integration with plone_client, a roadmap for plone.server and tests will be included!
Wildcard Featured in Stevens Point Journal
From Planet Plone. Published on May 27, 2016.Wildcard is getting local recognition as a growing company serving high-value clients.
Plone Barcelona Sprint 2016 Report
By Asko Soukka (email@example.com) from Planet Plone. Published on May 22, 2016.
For the last week, I was lucky enough to be allowed to participate Plonecommunity sprint at Barcelona. The print was about polishing the new RESTful API for Plone, and experimenting with new front end and backend ideas, to prepare Plone for the next decade (as visioned in its roadmap). And once again, the community proved the power of its deeply rooted sprinting culture (adopted from the Zope community in the early 2000).
Just think about this: You need to get some new features for your sophisticated software framework, but you don't have resources to do it on your own. So, you set up a community sprint: reserve the dates and the venue, choose the topics for the sprint, advertise it or invite the people you want, and get a dozen of experienced developers to enthusiastically work on your topics for more for a full week, mostly at their own cost. It's a crazy bargain. More than too good to be true. Yet, that's just what seems to happen in the Plone community, over and over again.
To summarize, the sprint had three tracks: At first there was the completion of plone.restapi – a high quality and fully documented RESTful hypermedia API for all of the currently supported Plone versions. And after this productive sprint, the first official release for that should be out at any time now.
Then there was the research and prototyping of a completely new REST API based user interface for Plone 5 and 6: An extensible Angular 2 based app, which does all its interaction with Plone backend through the new RESTful API, and would universally support both server side and browser side rendering for fast response time, SEO and accessibility. Also these goals were reached, all the major blockers were resolved, and the chosen technologies were proven to be working together. To pick of my favorite sideproduct from that track: Albert Casado, the designer of Plone 5 default theme in LESS, appeared to migrate the theme to SASS.
Finally, there was our small backend moonshot team: Ramon and Aleix from Iskra / Intranetum (Catalonia), Eric from AMP Sport (U.S.), Nathan from Wildcard (U.S.) and yours truly from University of Jyväskylä (Finland). Our goal was to start with an alternative lightweight REST backend for the new experimental frontend, re-using the best parts of the current Plone stack when possible. Eventually, to meet our goals within the given time constraints, we agreed on the following stack: aiohttp based HTTP server, the Plone Dexterity content-type framework (without any HTML views or forms) built around Zope Toolkit, and ZODB as our database, all on Python 3.5 or greater. Yet, Pyramid remains as a possible alternative for ZTK later.
I was responsible for preparing the backend track in advance, and got us started with a a simple aiohttp based HTTP backend with experimental ZODB connection supporting multiple concurrent transaction (when handled with care). Most of my actual sprint time went into upgrading Plone Dexterity content-type framework (and its tests) to support Python 3.5. That also resulted in backwards compatible fixes and pull requests for Python 3.5 support for all its dependencies in plone.* namespace.
Ramon took the lead in integrating ZTK into the new backend, implemented a content-negotiation and content-language aware traversal, and kept us motivated by rising the sprint goal once features started clicking together. Aleix implemented an example docker-compose -setup for everything being developd at the sprint, and open-sourced their in-house OAuth-server as plone.oauth. Nathan worked originally in the frontend-team, but joined us for the last third of the sprint for pytest-based test setup and asyncio-integrated Elasticsearch integration. Eric replaced Zope2-remains in our Dexterity fork with ZTK equivalents, and researched all the available options in integrating content serialization of plone.restapi into our independent backend, eventually leading into a new package called plone.jsonserializer.
The status of our backend experiment after the sprint? Surprisingly good. We got far enough, that it's almost easier to point the missing and incomplete pieces that still remain on our to do:
- We ported all Plone Dexterity content-type framework dependencies to Python 3.5. We only had to fork the main plone.dexterity-package, which still has some details in its ZTK integration to do and tests to be fixed. Also special fields (namely files, richtext and maybe relations) are still to be done.
- Deserialization from JSON to Dexterity was left incomplete, because we were not able to fully re-use the existing plone.restapi-code (it depends on z3c.form-deserializers, which we cannot depend on).
- We got a basic aiohttp-based Python 3.5 asyncio server running with ZODB and asynchronous traverse, permissions, REST-service mapping and JSON-serialization of Dexterity content. Integration with the new plone.oauth and zope.security was also almost done, and Ramon promised to continue to work on that to get the server ready for their in-house projects.
- Workflows and their integration are to be done. We planned to try repoze.worklfow at first, and if that's not a fit, then look again into porting DCWorkflow or other 3rd party libraries.
- Optimization for asyncio still needs more work, once the basic CRUD-features are in place.
So, that was a lot of checkbox ticked in a single sprint, really something to be proud of. And if not enough, an overlapping Plone sprint at Berlin got Python 3.5 upgrades of our stack even further, my favorite result being a helper tool for migrating Python 2 version ZODB databases to Python 3. These two sprints really transformed the nearing end-of-life of Python 2 from a threat into a possibility for our communitt, and confirmed that Plone has a viable roadmap well beyond 2020.
Personally, I just cannot wait for a suitable project with Dexterity based content-types on a modern asyncio based http server, or the next change meet our wonderful Catalan friends! :)
Python standard logging pattern
By Mikko Ohtamaa from Planet Plone. Published on May 22, 2016.(this article originally appeared in Websauna documentation) 1. Introduction Python standard library provides logging module as a de facto solution for libraries and applications to log their behavior. logging is extensively used by Websauna, Pyramid, SQLAlchemy and other Python packages. … Continue reading