Quantcast

Widgets/Modules

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Widgets/Modules

Thomas List

Hello,

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.  

Regards,
Thomas
     
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Widgets/Modules

Wil Moore III
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.    
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.
--
Wil Moore III

Best Practices for Working with Open-Source Developers
http://www.faqs.org/docs/artu/ch19s02.html

Why is Bottom-posting better than Top-posting:
http://www.caliburn.nl/topposting.html

DO NOT TOP-POST and DO trim your replies:
http://linux.sgms-centre.com/misc/netiquette.php#toppost
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Widgets/Modules

Joey Adams
> -----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.
>
[Joey Adams]
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+ >


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Custom Index Controller

Lionel Morrison
In reply to this post by Wil Moore III
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.


Thanks
Lionel Morrison
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Custom Index Controller

Lionel Morrison
Thanks all,

I'll try the router and see how things go.


Lionel

On 2/8/11 5:36 PM, Lionel Morrison wrote:

> 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.
>
>
> Thanks
> Lionel Morrison
>
Loading...