Re: [Rest2web-develop] Added an 'ip_addr' IPv4 address value test...
Brought to you by:
mjfoord
From: Nicola L. <ni...@te...> - 2005-07-20 12:22:36
|
>> I take this as a "go ahead" with the "test" -> "check" renaming. :-) > I thought I'd agreed. Anyway - no problem, we've completely broken > backwards compatibility anyway (in lots of good ways - but anything > using the new system is going to have to change code already). Better safe than sorry, once bitten twice shy, and all that. ;-) > I let Mark Andrews know that there was development work going on, but > never heard back from him. He hasn't blogged for ages either - real life > must be intruding, terrible stuff. Or else a healthy, if late, disinterest in all these Internet mannerisms. ;-) >> I'd move the imports anyway, whether we separate the functions or not. > Cool - I'll leave you to do it next edit. I've done a couple of new > articles for my website (done my Romania blog and part II of my life > story as articles) - so I'm returning to editing ConfigObj. Let me know when you're able to let me play with it, too. :-) > Nice one for the restructuring by the way. Must... fight... entropy... >> For my use case, the IP address value is necessary, I wouldn't want to move >> it to some extra module. So let's keep everything local, at least until >> there's other stuff to be included that would make the module too unwieldy. > Ok - do you think it's worth implementing a generic 'regex' test (that > leaves values as strings), with a standard dict of (any ?) regexes. Maybe it would, but first I'd like to understand why you ripped'em off already. ;-) > Right.. hmm.. trying to fight my way through buzz words. I have a lot of > respect for Ian Bicking and the WSGI crew. I also like the idea of being > 'back end independent'. Modularity is always a good idea, but it's hard, for anyone heavily bent on multithreading, to earn much respect with me, to put it bluntly. > I am also reasonably convinced that twisted is the way forward for any > decent web application - so if they're not compatible... then so be it. Of the two main strong points of Twisted, I think that the support of many net protocols is the *least* important one. The concurrency model makes it a strong base for *any* mid-to-big sized project, that is not enough served by multiprocessing. > I'm interested in Nevow... *but* I like the ultra simplicity of > 'embedded_code'. I don't yet understand what Nevow has to offer that is > more than templating. In fact most templating languages seem to me just > another new language (albeit simpler) to avoid embedding python - when > embedding python code is much more powerful (and I like Python). You want Quixote's PTLs, man. You *really* want them. :-) What are they? Text generation through real Python, that's what. BTW, I share your dislike of embedded mini-languages for templating. Nevow is much more than templating. The other two main points are form processing and trasparent page update through Javascript (a superset of the currently popular Ajax). -- Nicola Larosa - ni...@te... When I was growing up, my parents used to say to me, "Tom, finish your dinner - people in China are starving." But after sailing to the edges of the flat world for a year, I am now telling my own daughters, "Girls, finish your homework - people in China and India are starving for your jobs." -- Thomas L. Friedman, New York Times, April 2005 |