logo       


Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: View Helper & Javascript Configuration: msg#00009

Subject: Re: View Helper & Javascript Configuration
Simon, thanks for the reply. Yeah I have already read the manual and written
the helper.

But the question is that what if javascript based tool accept 30-40
parameters, in such cases the template will more look like a configuration
file rather than V of MVC.

Your idea is good about sharing the helpers as we share plugins or code
snippet on  http://www.symfony-project.com Symfony-Project.com . I believe
someone from within zend community should provide such platform.

regards,

-Ahmed.



Simon Mundy wrote:
> 
> Hi Ahmed
> 
> That's what View helpers are there for - you can create your own  
> objects to manipulate your view as required. If your final solution is  
> generic enough then it would be great if you could share your code for  
> others.
> 
> There's a section in Views in the manual that describes how to write a  
> Helper as well as integrate the current view and its objects into your  
> Helper.
> 
> Actually, in that vein perhaps it would be an idea to start a 3rd- 
> party View Helper and Controller Helper section to the framework so we  
> can start to share these components in a more formal way? Just a  
> thought... I've got some Smarty-esque Helpers like 'Cycle',  
> 'Truncate', 'Split' and Email obfuscation Helpers that others may find  
> helpful.
> 
>> What if a javascript based tool accept too many configuration  
>> parameters and
>> we want to build a generic View Helper using that js based tool. We  
>> can pass
>> configuration parameters as an associative array, but it would make  
>> the view
>> template more awkward as configuration parameter would be set under
>> template, bad idea right? Any suggestions?
>>
>> Any help would be appreciated.
> 
> --
> 
> Simon Mundy | Director | PEPTOLAB
> 
> """ " "" """""" "" "" """"""" " "" """"" " """"" "  """""" "" "
> 202/258 Flinders Lane | Melbourne | Victoria | Australia | 3000
> Voice +61 (0) 3 9654 4324 | Mobile 0438 046 061 | Fax +61 (0) 3 9654  
> 4124
> http://www.peptolab.com
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/View-Helper---Javascript-Configuration-tf4071469s16154.html#a11570983
Sent from the Zend Core mailing list archive at Nabble.com.




Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
db.firebase.por...    text.xml.xalan....    qnx.openqnx.dev...    user-groups.zar...    internationaliz...    kde.devel.konve...    finance.e-gold....    emacs.latex.pre...    gis.therion/200...    web.webmin.gene...    yellowdog.gener...    vserver/2003-08...    redhat.release....    sysutils.tivoli...    xfree86.expert/...    mail.becky.user...    hardware.netapp...    netbsd.ports.xe...    python.distutil...    boot-loaders.gr...    culture.interne...    java.springfram...    activedir/2006-...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe