EzDevInfo.com

frameworks interview questions

Top frameworks frequently asked interview questions

Getting the .NET Framework directory path

How can I obtain the .NET Framework directory path inside my C# application?

The folder that I refer is "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727"


Source: (StackOverflow)

What's a good lightweight Python MVC framework? [closed]

I know there are a ton of Python frameworks out there. Can you guys point me in the right direction? My primary concern is simplicity, I don't need a lot of extraneous features. Here are a couple of other things that I'd want (or don't want):

  • don't care for ORM, just want it to work with MySQL
  • has configurable routes
  • has support for layouts

Source: (StackOverflow)

Advertisements

Where do I put image files, css, js, etc. in Codeigniter?

Where is it acceptable to put css folders and image file folders? I was thinking inside the view folder? However the controller always reroutes the path to the base url so I have to specify the path in the .html file to where it sits, which is redundant.


Source: (StackOverflow)

What are alternatives to ExtJS?

So what I'm looking for is a javascript framework I can use that has several UI controls. I have taken a look at jQuery but those controls are very basic compared to ExtJS. Are there any other competitive alternatives?

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. More info: help center.


Source: (StackOverflow)

Finding the max/min value in an array of primitives using Java

It's trivial to write a function to determine the min/max value in an array, such as:

/**
 * 
 * @param chars
 * @return the max value in the array of chars
 */
private static int maxValue(char[] chars) {
	int max = chars[0];
	for (int ktr = 0; ktr < chars.length; ktr++) {
		if (chars[ktr] > max) {
			max = chars[ktr];
		}
	}
	return max;
}

but isn't this already done somewhere?


Source: (StackOverflow)

Java configuration framework [closed]

I'm in the process of weeding out all hardcoded values in a Java library and was wondering what framework would be the best (in terms of zero- or close-to-zero configuration) to handle run-time configuration? I would prefer XML-based configuration files, but it's not essential.

Please do only reply if you have practical experience with a framework. I'm not looking for examples, but experience...


Source: (StackOverflow)

How to filter (key, value) with ng-repeat in AngularJs?

I am trying to do something like :

<div ng-controller="TestCtrl">
    <div ng-repeat="(k,v) in items | filter:hasSecurityId">
        {{k}} {{v.pos}}
    </div>
</div>

AngularJs Part:

function TestCtrl($scope) 
{
    $scope.items = {
                     'A2F0C7':{'secId':'12345', 'pos':'a20'},
                     'C8B3D1':{'pos':'b10'}
                   };

    $scope.hasSecurityId = function(k,v)
    {
       return v.hasOwnProperty('secId');
    }
}

But somehow, it is showing me all items. How can I filter on (key,value) ?


Source: (StackOverflow)

any experience with "Play" java web development framework? [closed]

I've just stumbled upon the following new java web framework: Play

http://www.playframework.org/

http://www.playframework.org/documentation/1.0/home

with such a stunning list of features, I'm pretty much surprised I haven't heard of it before...

Sounds like the java web development promised land...

has anybody tried it? any real experience with it? do you think it's worth studying it?


Source: (StackOverflow)

How to "add existing frameworks" in Xcode 4?

I can't find the good old "Add existing frameworks" option. How do I do this?

We're talking about Xcode 4 DP2 (in the context of iPhone development, as far as it matters...).


Source: (StackOverflow)

What framework for MVVM should I use? [closed]

I am developing an application with the MVVM model, but I have reached a point where I need to choose which framework to use.

Among the possible options are:

  • MVVM Toolkit
  • MVVM Foundation
  • WPF Application Framework (WAF)
  • Light MVVM
  • Caliburn
  • Cinch
  • Prism

In your experience, which is better?


Source: (StackOverflow)

What is the difference between a framework and a library?

What is the difference between a framework and a library?

I always thought of a library as a set of objects and functions that is focused around solving a particular problem or around a specific area of application development (i.e. database access); a framework on the other hand is a collection of libraries centered around a particular methodology (i.e. MVC) and covers all areas of application development.

Thanks for the answers! Here are some links extracted from some of the answers below:


Source: (StackOverflow)

RailwayJS vs TowerJS [closed]

Again... selecting framework. I have stopped on these two TowerJS and RailwayJS, but it seams these are very similar and it is very difficult which way to choose

Both are based on Express, both are RoR style frameworks...

Which one is the most promising, which one will be more popular?

Or maybe I'm already on the wrong way? Maybe I should choose other framework.

I hate when there is so much frameworks to choose from, there is no industry standard to rely on, to be more or less sure that the framework will be developed in near couple years...

Please help, need expert suggestion. Thanks


Source: (StackOverflow)

.NET Framework 4.0 Client Profile vs .NET Framework 4.0

When I started new .NET Console Application in VS2010, By default Target Framework was set to .NET Framework 4.0 Client Profile, what is the difference between .NET Framework 4.0 and .NET Framework 4.0 Client Profile


Source: (StackOverflow)

What Scala web-frameworks are available? [closed]

I've just started learning Scala, and the first thing I'm going to implement is a tiny web application. I've been using Erlang for the last year to implement server-side software, but I've never wrote web applications before. It will be a great experience.

Are there web-frameworks for Scala except for Lift?

Don't get me wrong, Lift looks awesome. I just want to know how many frameworks there are so that I can then choose between them. It's always a good to have a choice, but I the only thing I found was Lift.


Source: (StackOverflow)

Angular.js Backbone.js or which has better performance [closed]

I am a web developer and I'm starting to develop a web application on a large scale, but I'm not sure what framework to use. I was thinking of Angular.js, but I also considered Backbone.js. For you, what would be the best framework? or at least have a comparison between the two to see the performance.


Source: (StackOverflow)