I have just finished developing a website with a fairly large database where people can fill out a form and find out about energy incentives in their area. Now my boss would like me to make a widget out of this form, and be able to embed it into other websites. I'm looking for a good tutorial to follow before I start writing the code. I've never built a widget/module before except an example login module. I need to look at something more substantial since the database and business logic are fairly complex. If anyone could point me towards a good tutorial or site which explains the development of Widget/Module in Zend I would really appreciate it.
> -----Original Message-----
> From: Wil Moore III [mailto:[hidden email]]
> Sent: Saturday, February 05, 2011 12:06 PM
> To: [hidden email] > Subject: [fw-mvc] Re: Widgets/Modules
> Thomas List wrote:
> > If anyone could point me towards a good tutorial or site which explains
> > the development of Widget/Module in Zend I would really appreciate it.
> Wil Moore III wrote:
> I've not seen a tutorial on this particular subject (not there there isn't
> one out there); however, may I suggest that you study the "ShareThis" code
> to get an idea of what is possible.
I've not had to do this particularly, but if you are going to be adding
complex functionality to external resources you might want to think about
making a REST server exposing the functionality you have already built.
Then your implementation depends solely on the client code, if you are
deploying to zf applications, maybe using a module based widget with action
helpers as described by MWOP here
http://bit.ly/aa9trp <preview http://bit.ly/aa9trp+ >
> Does anyone know how to tweek the default IndexController so that the
> following URL displays a users profile. Currently I get the undefined
> controller error.
> http://www.mywebsite.com/123 >
> I can get it to work if do the following
> http://www.mywebsite.com/profile/123 but the current website displays
> the profiles of its users using the first URL.
> Anyone got any suggestions on how to best go about getting this working.
> Lionel Morrison