frameworks

How to get serverside information into javascript?

Hi, I don't know how to ask this question that's why I'm going to simulate what I need, some developers make what I need by rendering javascript with php. A simple sample file would look like: my_javascript_file.php <?php include "my_class.php"; ?> $(document).ready(function(){ $.ajax({ url: "<?php $my_obj->post_url(); ?>...

There are some things you just can't test!?

When unit testing, it is always hard to know how low down to the framework you go. If we have a class that directly depends on the .NET Framework, i.e. the System.IO.File class, then we cant really test that in isolation. Sure we could wrap it and inject it into the dependent class, but then we start to wrap every .NET class! What...

XNA Framework Importers

I am working on a game using the XNA framework. My game has several levels which I am storing the data in a plain old text file. In VS 2008 when I add the level file to the project and compile, I receive the following error message. Error 1 Cannot autodetect which importer to use for "Levels\0.txt". There are no importers which ha...

PHP function-enhancement libraries intended for plain-vanilla php

Background: There are numerous PHP addons out there that have some nice ideas, but they represent a significant investment in either time or resources. For example there are frameworks like codeignighter or Smarty templating. Although some find these useful, and others find them not-so-much, there is no debating that there are a lot of ...

Distributed systems, best framework ?

Hello, I am building a software program that follows the scenario: I have many computers, and add each one of them to the a cluster. Each computer in the cluster can add a file to a distributed table (dictionary,hashmap, should be fast enough). So now I have a place where everyone can see what files does the group/cluster contains. No...

Article about jquery library hosted on Google not actually caching...

...re-downloads even if it was in cache. I think it had some statistics regarding the number of Yahoo users for which items had to re-download even if it was in their cache (60%?)... Read it earlier this year, but could be from last year too. I believe the page had lots of yellow on it too. Has anyone seen (bookmarked? wrote?) this a...

Filtering MS Sync Framework

hello been said filtering works with latest Microsoft Sync Framework version. so I used filter passing from client to server on server(sqlServer08 with change tracking enabled) I have SqlParameter filterParameter = new SqlParameter("@Institution_ID", SqlDbType.UniqueIdentifier); string customerFilterClause = "Institution_ID=@Inst...

What are the arguments against using a JavaScript Framework for a Web site development company?

Our company builds websites and web applications. We are a small firm and our team of developers are always building the javascript functions from scratch or copying from other websites built by us. Every time I bring to the table the word standardization and using a JS framework like JQuery, Prototype or any other, I am told Framework...

CSS Browser Compatibility issues

I recently designed a web application for a client. I used CSS for a layout of the application. I tested the layout on IE7, Mozilla 3.0.1, Google Chrome 2.0.xxx, Safari 3.1 and Opera 9.51. They all displayed correctly without problems. After the delivery of the application my client noticed it had compatibility issues with IE6. The site...

What are the arguments against using a CSS Framework?

Yesterday I asked a question here that got more momentum that what I thought it would. Here is the question link since it is related. I am interested now in the possibility of that using two frameworks together will be worst than using a JS framework and CSS from scratch or the other way around. The question is clear, if you think ...

Java Component based vs Request based frameworks

I was recently asked in an interview - In java, how do you compare component based frameworks to request based frameworks? I explained EJB as an example of Component based framework and Struts as a request based framework but was not convinced if I did justice to the question. Any ideas on what interviewer meant and what should have bee...

ASP.NET 2.0 Website uses .NET framework 3.0 DLL

We are developing ASP.NET site in VS.NET 2005. This site is will be hosted on server which has .NET 3.0 installed and in IIS, ASP.NET 2.0 would be selected under ASP.NET tab. We would use external DLL which is being developed in VS.NET 2008 with .NET 3.0 as taraget framework. Here they are using .NET 3.0 / C# 3.0 features such as Lamda ...

PHP: Where should validation functions be stored?

I'm using a PHP MVC Framework, and I've been just lumping all my validation functions in a helper class which get called when I need them. However, isn't the Model for logic about working with data, not exclusively databases? Would it make more sense to put the validation functions in one of my models? Thanks ...

SVG images in an iPhone application

Hi all, I'm looking for a small tutorial that can help me use svg images in iphone application. I'm trying to learn about svg format, and would love to know if there is relevant material from apple out there? particularly, w.r.t. iPhone. Are there any open source libraries, or frameworks in iPhone SDK 3.0+ for SVG? Any help is appreci...

Speed test between Javascript frameworks reliable?

This is pretty interesting, this site runs a speed test and compares all of these; PureDom jQuery 1.2.6 jQuery 1.3.2 Prototype 1.6.0.3 MooTools 1.2.2 qooxdoo 0.8.2 Dojo 1.2.3 Dojo 1.3.1 YUI 2.7.0 Javascript frameworks Speed Comparison Bases on this it seems like the newest jquery version is almost 2x faster then the older version, h...

CakePHP - Problems with ErrorHandler not extending AppController

I had been wondering why my error page caused certain pages of my site not to render, but then I realized that it's because AppError extends ErrorHandler instead of AppController. This caused some variables that I set in AppController's beforeFilter method not to be sent to the view. Since I can't access session variables from AppError...

C# vs. C++ in a cross-platform project

My team is planning to develop an application that is initially targeted for Windows but will eventually be deployed cross-platform (Mac, Linux and potentially embedded devices). Our decision is whether to use C#/.NET or generic C++ (with Qt as the user interface library). We’re projecting that by using C#, we can develop our product f...

CodeIgniter: Development and Production Environment

Hello All. I am currently in the process of learning the CodeIgniter PHP framework. At the current moment, I am looking to have a DEV environment and a PRODUCTION environment. Coming from a purely C and JAVA background, I am used to having everything locally (with version control), but since I will have the PRODUCTION side on a website,...

Does apple support core plot framework? Can we use googlecode repository source codes ?

Hi folks, I have a doubt if apple is supporting coreplot framework in it's application.Can anyone tell me? ...

which is the best PHP framework to use for large scale web applications

We need to build a large scale web application (say... a CRM or Learning Management Systems). We plan to do it using the LAMP stack and we are still researching on as to which Framework to use. We have mainly 3 frameworks: Codeigniter Symfony Yiiframework Can anyone suggest which is the best one to choose among these? ...