Startingpoint for reading code

23 views
Skip to first unread message

do...@procoders.net

unread,
Feb 11, 2013, 12:30:39 PM2/11/13
to ko...@googlegroups.com
Hi,

I'm very happy having found out that somebody wrote a CMS toolkit based on pyramid and sqlalchemy. I have some knowledge of pyramid and sqlalchemy and would like to understand more of the kotti internals. Could sombody give me a starting point. Is there some document describing the big picture? Or could somebody give me a hint, which components/classes to check first, to get an understanding of the inner working? I'm absolutly willing to read code, but just ask for some direction for first steps. ;-)

cheers,
Achim

Andreas Kaiser

unread,
Feb 11, 2013, 12:40:08 PM2/11/13
to ko...@googlegroups.com

On 11.02.2013, at 18:30, do...@procoders.net wrote:

> I'm very happy having found out that somebody wrote a CMS toolkit based on pyramid and sqlalchemy. I have some knowledge of pyramid and sqlalchemy and would like to understand more of the kotti internals. Could sombody give me a starting point. Is there some document describing the big picture? Or could somebody give me a hint, which components/classes to check first, to get an understanding of the inner working? I'm absolutly willing to read code, but just ask for some direction for first steps. ;-)

Did you find the docs yet? http://kotti.readthedocs.org/en/latest/


HTH,

Andreas

Daniel Nouri

unread,
Feb 11, 2013, 12:42:17 PM2/11/13
to Kotti mailing list
Hi Achim

I'd start with looking over the tutorials and using Kotti a little.
Then there's more docs. We also have quite a few docstrings by now.

You'll quickly see that all content types inherit from Content, which
inherits from Node. Node is what makes the Pyramid traversal tick (by
overriding __getitem__ and friends).

Then there's considerable code that deals with auth. The security.py
module deals with the inner workings, which is the machinery that
works with Pyramid -- the views for user management in views/users.py.

kotti/__init__.py is where a lot of the configuration magic happens.

Can't think of anything else right now; if you have a more specific
question, let us know.


Daniel
> --
> You received this message because you are subscribed to the Google Groups
> "Kotti" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to kotti+un...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>



--
http://danielnouri.org

do...@procoders.net

unread,
Feb 12, 2013, 5:30:49 AM2/12/13
to ko...@googlegroups.com

Am Montag, 11. Februar 2013 18:42:17 UTC+1 schrieb Daniel Nouri:
Can't think of anything else right now; if you have a more specific
question, let us know.


Thanks! That was exactly the kind of starting point I was looking for. Will play around a bit, will read some code and will come back later.

cheers,
Achim
Reply all
Reply to author
Forward
0 new messages