@jensens would you be interested in making a more complete writeup of what this cleanup/refactoring/documentation task would be? See the import/export project proposal from last year for an example format. I very much like this idea, and would love to add it to this year's ideas posting.
I am ignorant of the technical details, but I wonder if it would make sense to add to this project (if it's too small as is) a new FSD version that piggybacks on this work - that is, uses Dexterity instead of Archetypes content types and maybe other improvements. Thus future-proofing FSD. This would logically include code to upgrade/migrate an existing Plone 5 FSD implementation to the new thing. Could be a nice proof of concept for using the new stuff.
FWIW Previous FSD replacement idea: https://blog.jazkarta.com/2015/04/07/replacing-faculty-staff-directory/
My I am very interested to be part of Plone Project in 2018 Google Summer of Code, I am a very passionate programmer who loves to code in python, I have found Django and flask very good backend framework ,but never found any good cms in python, but I think Plone is a very good and interesting project to work on, i will love to contribute to this project and want to become member of your Google Summer of Code this year.
I am Tushar Goel, sophomore at BITS Pilani. I wish to apply for for GSoC under your organization. While going through your project ideas, i got very much fascinated by the idea of Users as Content since recently I have made two such management systems for my college's fests. I have a programming experience of over six years in Python and JS, and have gained substantial command over Python libraries/frameworks such as Django, Scrapy, NumPy OpenCV, Pandas. I have also worked with Node.js for a few projects.
We're happy you've chosen to join us for your summer of code. Please get started by reading and following the basic instructions at the top of this community forum post. You've already taken the first step! As you learn more over the next weeks about Plone and how it works, please do not hesitate to bring your questions here to this forum. You can search through it for posts from others who have asked the same questions, or start posts of your own. We look forward to helping you.
Once you've become more familiar with what our software does, and once you've learned a bit about developing on Plone and worked on an issue or two from our tracker, you'll want to look over our ideas list and begin thinking about the ways you might contribute. Our ideas represent things we would like to see, but we are also open to your own ideas. Just start a discussion here to find out what the rest of the community thinks. We can help you shape your ideas into solid proposals.
Again, Welcome to the Plone community!
Thanks @cewing ,I am very excited to be part of your community
Thanks @cewing for your help. I will be happy to contribute to this community and be a part of this project
I am Akshat Jhanwar a final year student and I am coding in python for over 5 years now. I have done 3 internships in software development cumulatively spanning over 9 moths. I have worked with a lot of python frameworks including django and Opencv. And have used some cms software such as drupal, joomla while doing freelance web development. I would love to contribute towards this amazing project.
Welcome, @akshat! We're glad you've chosen to visit the Plone community. There is a post just above yours from me with some more information you might want to read. And do please get started by reading and following the basic instructions at the top of this community forum post. You've already taken the first step!
Let us know what we can do to help you as you start to learn more about Plone and what it can do.
Thanks @cewing for your help.....I would love to contribute towards this project .
Hi @cewing! I'm Vedant and I was going through the ideas list for Plone for this years Gsoc and I found this idea interesting. I have experience in python development in general, and I'm more than willing to pick up whatever skills may be required for this project. Also, I have some experience in testing.
I was wondering what the current status of this project is, and how I should start preparing for my application. I haven't contributed to Plone as of yet, so if you feel like theres a bug I could pick up to get better acquainted with the codebase, I'd love to give it a shot.
Also I understand that this may be a little late to express my interest, but I'm hoping that would not be an issue.
Greetings, @vedantc98, and welcome to the Plone community. We are glad you're here and interested in working with us for your GSoC experience.
You should begin by following the five steps outlined at the top of this post. That is the best route to begin learning about Plone: what it is, how it works, and how to develop for it.
Once you've built a basic Plone website, and worked on some simple issue, you'll want to focus your attention on two packages in particular: Products.membrane and dexterity.membrane. The core of this project involves cleaning up the code for those two packages and merging them. The former package represents the old way of doing things, the latter package is the new way.
You'll want to reach out to @jensens and @mauritsvanrees as well as @agitator, all of whom have experience in this part of the Plone code base and can help you begin to establish an idea of what needs to be done.
Hoping this helps you to get started,
Thanks Cris, that will help me get started
I'm really excited to contribute!
I'll get the initial development setup done right now. Once that's done, should I use this forum or another channel like IRC or GItter to approach the members you've named?
@cewing Hi, I'm actually having a little difficulty setting up the environment.
I've installed Plone and then tried to create a website, but I cannot access the site because of the following error:
python(43172,0x70000f76b000) malloc: *** error for object 0x7fe70a1988e0: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
I tried changing my python version to 2.6 using a conda environment, but that didn't seem to help.
Any ideas whats causing the issue? Thanks!
Hi, I finally have my initial setup done and was going through the documentation and the project proposal.
This is my understanding so far :
Product.membrane is essentially a framework to create users as content, and a standard implementation of this framework is Product.remember.
I understand that Archetypes is the system that is used for Product.membrane and consequentially Product.remember.
Similarly dexterity.membrane is a kind of framework written with in Dexterity instead of archetypes, and also comes with an example implementation.
So essentially what this project involves is(roughly speaking) merging these two modules while refactoring the code.
I have a few questions here :
What will happen to Product.remember when we merge the two modules?
Is dexterity.membrane simply a port of Product.membrane to the Dexterity system, or is it built on top of Product.membrane?
Dexterity (Plone 5) replaces Archetypes (Plone 4).
You will nothing to do with Archetypes. It's a dead end.
You've got it more or less correct.
When you look at Plone, it consists of layers. The basis is Python, on top of that Zope, on top of that the CMF framework (these days a pretty small layer), and on top of that we have Plone.
Products.membrane started out as a framework for creating users as content, which only needed the CMF layer. Maybe even only the Zope layer, but I think CMF was needed. When I look at the latest release, it depends on Plone, so we can ignore compatibility with lower layers. So: it is the basis for users-as-content in Plone.
When you install Products.membrane, you do not yet have a content type that represents a user. Well, there are example types in the code. But as integrator you can create your own content user type that uses Products.membrane. I have one really old Plone 3 site in which I (or colleagues) have done that.
For building content types in Plone, you used to have only one option: Archetypes. Products.membrane did not use this, apart from maybe the example types. The standard add-on for users-as-content was Products.remember. This was built on top of Products.membrane and was using Archetypes as basis for the content type.
Then dexterity came along as option for creating content types. In Plone 5 this really has won the battle with the old Archetypes. If you create a content type in Plone 5, you should use dexterity.
That is what dexterity.membrane is: users-as-content with the dexterity content-type framework as basis, and still building on Products.membrane.
So Products.membrane is the basis, and it is content-type agnostic: it does not use Archetypes or dexterity, and does not mind which of the two frameworks you choose.
For the GSOc, as I understand it, the idea would indeed be to merge Products.membrane and dexterity.membrane. That should simplify the combined code.
To answer your questions:
- Products.remember would still continue to exist, but it does not need to be touched in this project, and it should just use the current version of Products.membrane. The future version of Products.membrane would be incompatible.
- dexterity.membrane is a port of Products.remember to the dexterity system. It is built on top of Products.membrane.
@mauritsvanrees, Thank you so much for breaking that down for me, it makes things a lot clearer.
I have a follow up question, as @jensens has mentioned earlier in this thread:
Isn't Archetypes already an 'optional feature' since it is content-type agnostic?
So basically what is required to be done is keep the Products.membrane framework as it is, and include the Dexterity implementation(dexterity.membrane) in the same package as the canonical implementation.
Also if you could set me up with a few resources(documentation links or even bugs that I could try to fix) that would help me get acquainted with the code in Products.membrane or dexterity.membrane? I went through the documentation for those two modules, but I'm still in the process of figuring out the codebase.
I want to start working on my proposal for this project, so I'd love to get a rough idea of what to look at (considering how big the codebase is).