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?
Sql server 2005 (even 2008) strips the insignificant whitespaces by default. To keep one can use the CONVERT funtction with the last argument as '1' (Ref. Article). How can we do the same thing in Entity Framework?
thanks
I just started on the .net compact framework. I want to draw a Sudoku field on the screen. So I put down a PictureBox and defined a method for the Paint event:
private void pictureBoxPlayfield_Paint(object sender, PaintEventArgs e)
{
// use e.Graphics to draw the grid, numbers and cursor
}
This works, but you can see as the grid is drawn. So my question is, what is the right/better way to create such a custom control? Is there maybe a way to enable double buffering?
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
Please advise a php framework for fast developing and for don't digress to write often using code(auth, db/orm,etc..).
Requrements:
Active community
Easy to use
simple many to many and many to one relations
auth. mechanism
RoR like
Please sorry for english.
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 am new to coding and would just like to know a bit more about frameworks. How does a framework help you code and what exactly is it? Such as Zend for php.
This question (http://stackoverflow.com/questions/245566/net-compact-framework-4-0) asked this back before the release of VS 2010. The answer basically said to wait for the release.
Now that the release is here, does anyone know? Is there an upgrade/update to the .NETCF? something past .NETCF 3.5?
Hi,
I am a newbie to Zend framework, I want to know how can we restrict the call to predispatch() function in my controller for any particular action.
-DevD
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 an equivalence in Entity Framework to NHibernate SchemaExport?
Given I have a working Entity-Model, I would like to programmatically initialize a database.
I would like to use this functionality in the setup of my integration tests.
Creating the matching DDL for an Entity-Model would also suffice.
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?
I have many entities (Customers, prospects,...)
I have one entity called Notes, which can handle notes for Customers,prospects...
The Notes table is then:
Id
Parent_Id
Parent_Type
Note
How to handle this with Entity Framework ?
Thanks
Joghn
I'm using Entity Framework for creation of my Data Access Layer and I want for all of my classes to be internal.
I know it is possible to manually assign it manually in the designer for each class. But looks like it also requires to set internal modifier for each single property in every class! I have about 30+ entities and it will be a huge work to do.
Do you know any ideas how to set a 'default access' for the entire model?
Is it possible to use Entity Framework v4.0 in a .Net 3.5 application?
I mean, can i just reference the related assemblies for EF 4.0 and use it in my .Net 3.5 application?
thanks...
I have a form in a Compact Framework application. When the user presses the 'X' button in the top right, the screen doesn't refresh until the users taps anywhere on the screen.
The form is being shown using this code:
using (var customerDetailsForm = ObjectFactory.Get<CustomerDetailsForm>())
{
customerDetailsForm.AssignCustomerId(customerId);
customerDetailsForm.ShowDialog();
}
I would like to be able to display the version of the .NET framework a windows form or wpf project is targeted at and display it in the title bar of the app.
Is there a way I can do this?
Thanks
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.
I am working on a project and I am using Entity Framework 4 as my ORM. I am implementing POCO classes. Every example I see with EF 4 and POCOs implements all properties with public setters. Is that the only way I can use POCO classes with EF 4? Do all my setters need to be public?
Right now I am using an extension to linq to provide me with the functionality of Contains. I call the WhereIn like this:
Answers = Answers.WhereIn(x => x.category.catid, catSTRarray);
Is there a built in function within entity framework to use?
Hi Everyone,
I have created an application in Compact Framework 2.0
This application is being used in many various counties and cultures.
My Issue is that any and all exceptions are logged, but they are appearing in the culture of the device, in some cases this means i am unable to read them.
Any help or suggestions will be appreciated
Thanks
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.