Hi Ben,

Thanks for your response.

In our existing CMS, we were using Pylons. Certainly we can consider Pyramid
for the new platform we are creating. 

But I am not sure if Pyramid has been used in any existing commercial and
deployed platforms. 

Also, could you please let me know how difficult it is to replace Pylons
with Pyramid in an existing product?

 

Thanks,

Pinakee



 

P Please don't print this e-mail unless you really need to, this will
preserve trees on planet earth. 

----------------------------Disclaimer--------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
---------

The information contained in this message (including any attachments) is
confidential and may be privileged. If you have received it by mistake
please notify the sender by return e-mail and permanently delete this
message and any attachments from your system. Please note that e-mails are
susceptible to change and malwares. VVIDIA COMMUNICATIONS PVT LTD.
(including its group companies) shall not be liable for the improper or
incomplete transmission of the information contained in this communication
nor for any delay in its receipt or damage to your system. 

----------------------------------------------------------------------------
---------------------------------------------Disclaimer---------------------
----------------------------------------------------------------------------
---------

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Benjamin Sims
Sent: 29 May 2012 17:37
To: [email protected]
Subject: Re: Issue with Validators

 

Hi,

 

Is there a particular reason for you to go with Pylons rather than Pyramid?
My understanding is that new development in better done in Pyramid, the
"future of Pylon-style web application development".

 

Ben

On 29 May 2012 05:59, Pinakee Biswas <[email protected]> wrote:

Hi,

I am new to Pylons and learning it reading the Pylons book and the
SimpleSite tutorial.

I am using Pylons 1.0.1 which goes with Python 2.7 (I think) and the
tutorial is a bit outdated w.r.t the Pylons version.

I getting the following error (traceback):

Module simplesite.controllers.page:2 in create          view
Module pylons.decorators:123 in wrapper          view
>>  return func(self, *args, **kwargs)
Module simplesite.controllers.page:66 in create          view
>>  for k, v in self.form_result.items():
AttributeError: 'PageController' object has no attribute 'form_result'

Following is the code:

#@restrict('POST')
   @validate(schema=NewPageForm(), form='new')
   def create(self):
       # Add the new page to the database
       page = model.Page()
       for k, v in self.form_result.items():
           setattr(page, k, v)
       meta.Session.add(page)
       meta.Session.commit()
       # Issue an HTTP redirect
       response.status_int = 302
       response.headers['location'] = h.url_for(controller='page',
           action='view', id=page.id)
       return "Moved temporarily"

I would really appreciate your support on the above. Also, please let
me know where I can get the latest tutorial or some book on Pylons
1.0.1.

We are creating a platform where we plan to use Pylons framework.

Looking forward to your support and response...

Thanks,
Pinakee Biswas

--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected]
<mailto:pylons-discuss%[email protected]> .
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en.

 

-- 
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

<<image001.png>>

Reply via email to