I've been using the CodeIgniter framework for PHP and am enjoying it, but I notice that it seems to require a controller for every view. I'm wondering if there is a way to call a specific model from the view itself, rather than route through a controller. I understand that use of a controller is best practice in most cases, especially wh...
I have a table
$query=
"CREATE TABLE screenshot ".
"(screenshot_id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY, ".
"source_video_id INT UNSIGNED NOT NULL, ".
"screenshot_file_name VARCHAR(128), ".
"x_res INT, ".
"y_res INT, ".
"time INT UNSIGNED);";
mysql_query($query);
Then I insert things into that table.
I often want to do an SQL quer...
What exactly is a framework? How to define a framework in simple terms?
...
Hello, I'm building a Mac application for somebody, and it includes a WebView in it. I have already added the WebKit.framework, but for some reason, I just can't figure out how to zoom out on launch. I know where to put the code so it would do it on launch, but I don't know the code to zoom out. The page I'm viewing is too big for the We...
How do you use the COnfigurationManager class to read and write to the settings file?
...
Okay, so I am creating an MVC framework in PHP and I want it to be pretty flexible. This is all fine - I'm working on this at the moment and things are going well (So I don't want to use Zend or another pre-existing framework, haha!), but I wanted to make both the framework and application quite dynamic. I'll try explain:
Here's a simpl...
I am looking for a good framework for building web apps in python (could also be python + php). The apps will make http requests (GET/POST) and process data, so I'd like to have threading support to make it faster. I am currently using exec(/path/to/php thread.php ... ); to run "threads" on php.
The main app will scrap tons of urls and ...
i know Java,not Objective-c but like to program IPHONE and IPAD.
now i need to use some sort of framework directly for device communication and function
communication(http connection API,barcode reader API,remote file access API,twitter API)
is there any framework that is written in Java using GWT.
i saw phoneGAP.but like GWT.
i like ...
Hey all I'm trying to validate a 'time' field using Zend Framework.
The docs seem to be pointing out that the following:
$tstarttime = $form->createElement('text','t_start_time');
$tstarttime->setRequired(true)
->setLabel('Start Time')
->addValidator(new Zend_Validate_Date('H:i'));
I've tried this but no luck. Any ideas or a...
Is it possible to choose controller from Plugin?
For example I have table of departments and categories in database. I'm fetching them and want to make certain actions(picking controller and action).
The reason - I don't want to create sepparate controller for each department and action for each category.
...
I recently upgraded a number of projects from VS2008 to VS2010. Now I'm having an issue at design time w/ the WPF designer in Visual Studio. It throws an exception for every XAML page I open in design mode. Exceptions also throw for new brand new XAML pages.
Projects currently target .NET 3.5. If I switch to target .NET 4.0, designe...
Ok so we all of course know of the big two frameworks built atop ASP.Net. Webforms and MVC. Are there any alternatives to these two big and Microsoft-made frameworks?
I believe that OpenRasta had something extremely lightweight which was independent from both, but I'm not sure. Is there anything else like that though?
The reason I as...
Possible Duplicate:
When is it OK to use an XML file to save information?
What's up with everything using XML as a storage format for configuration files such? I'm asking because [name retraced] framework has an XML configuration file to store database credentials, and the particular application that's built upon the framework...
We are looking to build a PHP web application to manage data that is available only through a 3rd party REST like interface.
We would like to use an existing PHP framework to do this, we're considering cakephp and codeigniter, but are open to other options.
We expect the biggest problem will be creating models that utilise the REST...
Hello,
The main goal is create relationship diagrams/flow schemas from a big and complex PHP project automatically.
I have a one big framework and it is not documented. Structure looks good but modules and additional codes not.
If you can give me the ideas, may be i can code myself an analyzer with PHP but it would be good if you can ...
HI,
I hope somebody can help me here with the extjs framework.
The problem I am having is that the field validation is not being rendered for the tabs that are not visibele on initialisation off the panel.
It only starts working when clicking in the textfields.
What I need is something to force the validation cue's for the fields on a...
Hi there,
I found that Entity SQL support NEWID(), but does ObjectQuery support it as well?
http://msdn.microsoft.com/en-us/library/bb738616.aspx,
Can I write objectquery like:
context.member.orderby("NEWID()").select("it.UserID");
or something like this? or I should write in other way?
I thought if entity sql support NEWID() func...
Hi,
I upgraded xcode to 3.2.3 and loaded an existing project I had created with a prior version of xcode. It seems to compile fine as I have set up the correct deployment target and base sdk. When I look under Groups & Files, the Framework group, the Framework files are red and are pointing to the old framework files which don't exist...
I have seen a lot of outdated podcasts that mention mocha as a gem I would want to install because it does mocking better then rspec. I have a feeling that the rspec developers have caught on to this and have improved their mocking since then. However, in the default spec_helper.rb file I see some commented out code stubs for three mocki...
hi,
can anyone tell me whether i can use EnableDynamicData for textbox or dropdown list??
From what i can find i cant? Perhaps i can add this functionality by inheriting specific class??
thanks
NIall
...