frameworks

Entity framework unit testing with sqlite

Is it possible to unit test Entity Framework v2 repositories with SqLite? Is this only possible if my entities are plain Poco and not automatically generated by Entity Framework? I've generated a entity model from SqlServer and in the generated .edmx file i found this in section SSDL content: Provider="System.Data.SqlClient". Correct me...

CHUD 4.7.2 + complete frameworks ?

Is there any way to get CHUD 4.7.2 installed with full frameworks ? Currently it seems that you either have to settle for CHUD 4.7.2 installed as part of Xcode 3.2.2 without frameworks, or install the CHUD 4.6.2 package after Xcode 3.2.2 to get the frameworks, but then of course you only have the older 4.6.2 tools such as Shark 4.6.2 ? I...

How do the size standard libraries compare for different languages

Someone was recently raving about how great jQuery was and how it made javascript into a pleasure and also how the whole source code was so small(and one file). I looked it up on www.ohloh.net/ and it said it was about 30,000 lines of javascript, when I tired curl piped to wc it said about 5000 lines(strange discrepancy that, maybe tes...

ObjectContext disposed puzzle

Hi, I have the follwing method. public List<MyEntity> GetMyEntities(MyObjectContext objCtx) { using(MyObjectContext ctx = objCtx ?? new MyObjectContext()) { retun ctx.MyEntities.ToList(); } } The idea is, user of this method can pass in the objectcontext if they have. If not then a new objectcontext will be c...

Survey on logging classes / frameworks / writers

I am curious what writers (handlers, loggers) are you using. Text file and db its quite obvious, but what are other possibilities ? Firephp maybe (as in Zend_Log), mail, jabber, url ? Is anyone using syslog() or error_log() ? Are you using streams (especially custom ones) ? Are you using custom error levels or you limit yourself to pre...

Entity Date Modelset Generates Errors in Visual Web Developer

I attempted to add a ADO.NET Entity Data Model to my Visual Web Developer 2010 Express project and it generates but returns a whole slew of errors. Why is this generating errors? Here are the main errors: 'Public Property ID As Integer' has multiple definitions with identical signatures. Method 'Onaddress_IDChanging' cannot be declared ...

What is the difference between Spring, Struts, Hibernate, JavaServer Faces, Tapestry?

Hi, May I know what is the difference between:- Spring Struts Struts 2 Hibernate JavaServer Faces JavaServer Pages Tapestry Are these technologies/framework complementary to each other? Or they are alternatives to each other (after I use one of them, then I don't need to use the other)? Thanks. ...

How to know when it is time to use a Framework to develop a Website?

I have been developing websites in n-tier structure and so far my requirements are fulfilled. But as powerful frameworks like Zend Framework, symphony are getting popular, I wonder how to know if it is time to shift to a framework? I am in a kind of dilemma? Can anyone suggest me the right option ! ...

Compiler executable file csc.exe cannot be found.

Hello, I am using VS 2008 and .Net Framework 3.5 when i compile project i m getting error Compiler executable file csc.exe cannot be found. I have checked that csc.exe is also exist in the .net frame work folder. When i change compiler version 3.5 to 2.0 it starts working but My 3.5 Features are not available there like LINQ. I hav...

why use admin panel instead of phpmyadmin for CRUD?

in some frameworks (symfony) you can generate an admin panel for CRUD operations. i wonder why i should use that one and not doing CRUD directly in phpmyadmin? what are the benefits with an admin panel? thanks ...

I'm building a configuration tool for client - is there existing software I can re-use?

Hi, I'm building a web app that allows our customers to create a configuration for our application. The configuration consists of multiple fields, each with a type of either Number, String, Date (eventually Array and Object) and is backed by an object-relational model in MySQL database. The tool allows basic CRUD capability for the co...

Using a framework in a PreferencePane

Hi, i am currently trying to implement a "third party framework" (FeedbackReporter.Framework) into my preferencepane. Unfortunately I am getting the following error all the time when trying to launch my preference pane: 16.05.10 23:13:30 System Preferences[32645] dlopen_preflight failed with dlopen_preflight(/Users/me/Library/P...

Entity Relationship Multiple 1:1's

I have an application where I have a generic object (table) called Hull. Each hull in the table is unique. I have another object that has three hulls, but they are specifically the Port_Hull, Center_Hull and Starboard_Hull. Rather than create a One to Many relationship, I was trying to create a one to one relationship for each one,...

Frameworks cual recomiendan

hola actualmente estoy conociendo sobre los frameworks Turbine,cocoon, Struts, webwork, pero quisiera saber cual de estos 4 frames, es mejor o cual recomendarian para su uso, o posiblemente cual es su escalabilidad, la mantenibilidad , su robustez, cosas asi que ayuden a decidirme por alguno de ellos Grax ...

Application framework building

Hi I was looking to build a Data Access Layer for my new web based application, I'm using ASP.NET. I'm want to build a framework not only for this application but also want to utilize it for my future projects. Actually my main aim is to make a framework, from DAC, DAL, BL to GUI. I want suggestions from you guys that what should i ado...

Choosing the correct framework

When starting out on any project it could be seen as essential to pick an appropriate framework. I was wondering if you would point out any key questions that should be asked in order to aid the choice. I have looked at numerous sites and there doesn't seem to be any definative questions to ask before a choice is made. I was wondering ...

PHP: ORM framework or library that I can use with my database table structure

Hi, I was using KohanaPHP ORM but I can't use it with my database table structure. So, I need a framework or library ORM to use with it. With Kohana I need to follow a naming convention. I can't use a field name (foreign key) like 'idUnidadeMedida'. Are there any suggestions? Thank you. ...

Securing input of private / protected methods?

Hello, normally, all sane developers are trying to secure input of all public methods (casting to proper types, validating, sanitizing etc.) My question is: are you in your code validating also parameters passed to protected / private methods? In my opinion it is not necessary, if you securize properly parameters of public methods and ...

What's the best way to transition to MVC coding?

It's been around 5 months since I picked up a PHP book and started coding in PHP. At first, I created all my sites without any organizational plan or MVC. I soon found out that was a pain.. Then I started to read on stackoverflow on how to separate php and html and that's what I have been doing ever since. Ex: profile.php <--this file ...

Loading a private frameworks in MacRuby

I'm attempting to follow this tutorial 'Demystifying Mail.app Plugins on Leopard' to build a Mail.app plugin. Instead of using PyObjC I'm trying to use MacRuby. I've got MacRuby 0.6 loaded up and I've gotten to this step in the tutorial (PyObjC code): MVMailBundle = objc.lookUpClass('MVMailBundle') I've search the web a bit but can't...