still uses the pylons controller approach with @validate decorator
bochecha joined the channel
funny to look at this, remember pre-pyramid time
amr_
so guys If i have to take the decision whther it's pyramid or django, what shall i do?
blaflamme
the one you know more
and feel more confortable
raydeo
the right answer is to hire blaflamme
blaflamme
no, hire raydeo
I only do what he's saying anyways :P
dowwie
[redacted]
[redacted]
[redacted]
raydeo
kazoo is a python binding to zookeeper
written by benbangert
amr_
flask is micro-framework!!!!
dowwie
[redacted]
[redacted]
[redacted]
[redacted]
raydeo
they are probably using it for leader selection
cguardia
amr_: first thing to do is to get much more clearer objectives than "need great performance". From what you say Dajngo is not a good option, because you'd end up fighting the parts of the framework that you don't use. Next, is that compiling code idea even workable? Write a proof of concept of what you need to do, use Pyramid, or Flask. See which one you like best
bduncan has quit
jpenny
its not so much that we don't want to do your homework for you. It more that we can't. Only you know your skills and objectives. And we are lousy salesmen.
cguardia
You know, there are intermediate steps between 1. I need a web app, 2. For StackOverflow level audiences with great performance.
amr_
@cguardia how much time do I need to be into pyramid, for someone who comes from django background ?
cguardia
amr_: what's important is Python background. A good Python dev can work well with both
amr_
great
what are these intermediate steps you mentioned, sorry for the inconvinience
jpenny
how comfortable are you with the python ecosystem? Pyramid (and flask) are much more about integration with other stuff that is already available externally to the projects.
pldz has quit
But, look at the tutorials and the narrative doc. The docs are pretty good.
areski joined the channel
amr_
yes i found it really good, i'm just a little afraid to not going in depth as quick as i think, as I have to make progress with my grad. project
thank u all for help and support, i really admire this community
jpenny
In depth questions will usually get answers here (usually of the 3 guys, 5 answer variety, but ...). It is the overview questions that are hard.
dowwie
[redacted]
[redacted]
amr_
#dowwie you're doing it right :D
amr_ has quit
kamalgill joined the channel
mejymejy joined the channel
Charlie_X
I doubt he'll be back.
He just wants to install shit and have it work: Django/Plone with high performance and easy to customise…
cguardia
Aw, he's gone, I was working out the intermediate steps on my head
jpenny
It is unusual to hear that the docs are not sufficiently in depth, or that they take too long to get there.
bochecha has quit
Charlie_X
It's understandable: wanting to have something working ASAP but being forced to think about things like storage.
cguardia
jpenny: not from one who wants to get to "how to handle SO level visitors" on page 2, after the installation
Charlie_X
We all know that the best modern websites and apps don't need storage. They have magic pixie dust!
zepolen has quit
mejymejy has quit
dowwie
[redacted]
[redacted]
tomeff joined the channel
teix has quit
nmix joined the channel
plamut has quit
Pumukel has quit
Ergo joined the channel
Ergo
dstufft: ping
uralbash: ping
Charlie_X
dowwie: asset light strategies only get you so far but they are indeed currently very à la mode.
otter768 joined the channel
areski joined the channel
jpenny
cguardia, maybe. But, no one person can handle SO levels of traffic. No one can even plan for SO traffic. You have to do it when you start seeing the problems.
blaflamme
at least he's optimistic about his project success :)
Ergo
jpenny: i think you are being too pessimistic about handling part
cguardia
jpenny: yes, that was my point when I mentioned "intermediate steps". It's counterproductive to worry about that so early. Lots of wasted time looking for the "best", "fastest" framework
blaflamme: they all are
dstufft
Ergo: hi
Ergo
dstufft: did you find the time test paginate?
dstufft
Ergo: nope, let me do it now
Ergo: master branch riht?
Ergo
yup
nmix has quit
dstufft
Ergo: so it raises an error, but I can work around it. Basically https://github.com/Pylons/paginate/blob/master/... the boolean on self.collection calls len(). It might be worthwhile to check for page < 1 first, but I can also just override the __bool__ method
after overiding __bool__ in my wrapper class, it seems to be working fine
Ergo
dstufft: well i think the boolean is not necessary
but original author for some weird reason tests if page is 0 is list is emty