Is there some kind a engine for Json in the Zend framework, What I mean is some abstraction that all the Json (ajax) responces go through ?
in other words some class to controll all the Ajax calls?
Hi
My zend framework render function returns:
Warning: include(C:\wamp\www\cms\application\modules\default\views\scripts) [function.include]: failed to open stream: Permission denied...
It's being called in a postDispatch function on the controller, but that doesn't matter as no matter where i put it, it fails.
Any ideas? My view and layout are started in the bootstrap. Thanks
I am using Zend Framework and it works fine in Firefox/Safari. In IE I have a problem with images not loading.
Say I have an image in my public folder and I have this in my page:
<img src="/photos/category/img.jpg" />
Well that works, except when I'm at a URL with a controller like
http://www.example.com/controller/action
I can see why, but I want a good solution to properly creating these img src links that works across browsers.
i used Zend Studio for eclipse, and now i have a problem with encoding.
when i try to write text in foreign language, it doesn't understand the font. but in browser it shows normally.
i've set then default encoding to UTF-8, but it doesn't work.
could you help me.
Thanks
Can I use zend Registry to save variable to use in other controller?
this is my code that don't work in another controller:
Zend_Registry::set('id', $Id);
When using Zend Studio to write views for a MVC framework, is there any way of having those variables autocomplete, perhaps using PHPdoc?
For example, I set a variable in a view called $cart which is an instance of my ShoppingCart class. When I type "$cart-", I'd like the IDE to pop up with all of the objects properties.
I want to start learning Zend Framework. My only concern is that the most recent ZF book on Amazon with good reviews teaches version 1.8 of the framework, which is now about a year old. Do you think it would be a good idea to still pick up that book or is it too old now?
I need to create a SOAP Web Service in C#.
I've done this in the past in Java with eclipse, but couldn't really find something that is SOAP specific when creating a new Web Service project in VS2008.
I need some kind of guidance on how to start this.
Also, the intended client will be implemented in Java,
are there known compatibility issues with this?
Thanks
I have a dev project setup in a subfolder on my testing machine and it must stay there.
However all the Zend frameworks views are linked to server root.
CSS are linked like:
<link type="text/css" href="<?php echo $this->baseUrl('/css/frontend.css') ?>" rel="Stylesheet" />
Which must be stayed this way, but it should link to
localhost/a/b/c/prj1/css/frontend.css
How can I setup a global subdirectory for this?
I am looking to execute this statement via Zend Framework. As I understand it, I can use Zend_Db_Select. Is it possible to use Zend_Db_Table?
Three tables: classes, students, and class_students
select classes.name, students.student_id, students.fname, students.lname from students, classes, class_students where class_students.student_id=students.student_id AND class_students.class_id=classes.class_id;
Is there a best-practice when it comes to where to put the logging functionality in an MVC application, for example a Zend Framework application (Zend_Log)? Should I put the logging in the controller or in the model? Or in both?
If in both, should they have the same logger or a separate one?
Hi,
The standard extension for template files in Zend Framework is .phtml... I need to change them to .js in one specific module... can anyone help... I'd ideally like to change this a Controller level...
Many thanks...
Is there a way in Zend Framework or default PHP to map a country (using country code) to a list of timezones? As an example I'm trying to replicate the Google functionality when searching for "time in australia right now" which displays all of the timezones and cities for that country.
Hello,
Does anyone knows how to properly make dependent dropdowns using the Zend Framework?
I've found several ways to do so, but none of them is using the framework features.
Dependent Dropdown: The options shown on the "B" , depends on the option selected on the "A" .
Thanks for your help,
Best regards,
Anybody can help me to get date formated with Zend framework
What I do is:
<?php echo new Zend_Date(2010-05-23, false, 'en');?>
Result I get is: May 22, 2010 12:00:00 AM
I what I need is: May 22, 2010
Thanks.
Continuing in our series, I wanted to touch on how a RIA Services can be exposed as a Soap\WSDL service. This is very useful if you want to enable the exact same business logic\data access logic is available to clients other than Silverlight. For example to a WinForms application or WPF or even a console application. SOAP is a particularly good model for interop with the Java\JEE world as well. First you need to add a reference to Microsoft.ServiceModel.DomainSerivves.Hosting.EndPoints...Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.
This is worth another mention.
If you need to call SOAP web-services from iOS or Javascript, and lets face who doesn't. http://SudzC.com really delivers.
You give it the URL to you're WSDL file (or upload a file) and it just spits out a ready to go Xcode project.
I would point out that to get it to work 100%
I changed line 204, in Soap.m (commented out line is old version, mine is below)
//if([child respondsToSelector:@selector(name)] && [[child name] isEqual: name]) {
if([child respondsToSelector:@selector(name)] && [[child name] hasSuffix: name]) {
I consumed a Microsoft Dynamics NAV set of web-service pages no problem (and they tend to be fairly complex WSDL definitions).
Continuing in our series, I wanted to touch on how a RIA Services can be exposed as a Soap\WSDL service. This is very useful if you want to enable the exact same business logic\data access logic is available to clients other than Silverlight. For example to a WinForms application or WPF or even a console application. SOAP is a particularly good model for interop with the Java\JEE world as well. First you need to add a reference to Microsoft.ServiceModel.DomainSerivves.Hosting.EndPoints...Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.