frameworks

Am I supposed to directly modify User models in auth modules in frameworks?

I am new to using Frameworks for web development and I have noticed that frameworks like django, turbogears etc come with auth packages which contains user models. Am I supposed to directly modify these and use them as my User models or am I supposed to associate my own user models to these and use them just for authentication? ...

What is OSGi and which applications already applied it?

Recently I learn about OSGi and still don't know what is the difference between it and DLL (Dynamic Library Linking in Windows). And will it attract more developers and companies to Java world? And can you list out some applications already applied OSGi. For now, I only know GlasshFish 3, have to admit that the performance was increased...

Comparison of Clojure web frameworks

There are a few web frameworks for Clojure Compojure Webjure Conjure Moustache and also some libraries for dealing with certain web development subtasks, such as Enlive for templating Hiccup for templating Ring to handle lower level stuff with requests/responses ClojureQL for persistence (it doesn't seem very active, though) Ther...

iPhone CATextLayer (QuartzCore framework) linking issue

I have the following code: CATextLayer *test = [CATextLayer layer]; test.string = summary; test.wrapped = YES; //test.truncationMode = kCATruncationEnd; //test.alignmentMode = kCAAlignmentJustified; test.frame = s; [test drawInContext:context]; I import the framework and link against it, however when it links I get the following erro...

Routes on zend modules

Hello, I want to make a kind of alias for my modules: Is there a way to make http://www.example.com/news point to /modules/news/controller/news/->action index. And if i go to http://www.example.com/news/show it automaticly points to /modules/news/controller/news/ -> action show Or do I have to make a route for every single action...

CMS or Framework for a tag-centric site?

I've wrestled with Drupal for months... it just doesn't really have a very fluid way to deal with dynamic tagging and calls. For instance... I need to be able to allow the user to create/manage tags, anytime they want, on their profile that do the following things: List the User in relative searches Contribute to a tag-cloud Return it...

OData Entity Framework Schema Change

I am trying to expose my database with OData. I am using Entity Framework to create the DataService. I need to add a column to one my entities, so I created a partial class of my entity, and added the property. The problem is, this new added property is not exposed to OData, is there a way to add this new column to the exposed schema> ...

Switching from JQuery to RightJS

I am currently using JQuery and recently heard about RightJS. RightJS seems to be faster, lighter & more object oriented. But I was wondering if RichJS has somethings seriously missing compared to JQuery (Other than the huge plugin base). Update: I tried RightJS in a small web project & decided to use it on a few more projects. But I ...

Creating a framework within an application?

I have a cocoa application which has certain subroutines / methods. So if I have a method like this: - (void) dummyMethod:(NSObject*)dummy { //code } Can I call it from an outside application providing I have the correct headers? I mean linking an application with another application. That method is an instance method by the way. S...

Looking for a .NET Configuration Framework

Due to my next project (much SOA stuff) I need a component based configuration and stored in a database to enable a central administration. app.config/web.config does not support any of those requirements (I know some hacks with app-domains, though). So does anybody of you know a configuration framework? It does not necessary have to be ...

Undefinable problem with my Zend Framework based site

Hello everyone, Lately I had to reinstall my development site on my ubuntu machine since my system crashed after an os update. 4 days later my site is still not running as it should. Whenever i do an action which has in it an action on a database, it stops working. For example when Registring a new user, i get the following error: [...

Recommended framework for java web services

This question was asked about 18 months back. Wanted to see if the community still agrees with CXF as a good choice for the question posted. Looking for a good framework, if we go the schema-first route. Thank you. ...

Framework for an MVC .NET app that also has a thin client component?

If I plan to create a system that is pretty much an MVC .NET site, with the typical separation of components (data, core, ect) but also would like to have a thin Windows client that can access some of those same components remotely, which framework would I want to look at using? ...

Entity Framework one to many relationship save problem

Hi people, I've been digging in the posts in here and on google and couldn't find anything helping me to solve a problem I have with saving children entities on an existing entity. Let's say I have a shopping cart that will hold items, that means I have a ShoppingCart entity which has ShoppingCartItem entity collection. In my contr...

Web-based database editor / data entry framework, PHP preferred.

I need to build a simple web-based data entry/editing tool - something that would let me avoid using MS Access for the task. Preferrably in PHP and something that would be support SQLite, foreign keys/references and field validation. I've looked at the demos of Symfony and was not impressed with the user interface in the end. Are there ...

unable to play video in iOS 4

I have written code to play video in iPhone OS 3.1.3 and video is playing fine. but when i am trying to play video with the same code then video is not playing in iOS 4. I know that Media player framework is changed for iOS 4. Is there any way i can play the video on different OS without preparing separate binary?? Thanks, Jim. ...

Best resource to learn .net framework

I wish to learn in depth about .net Framework such as CLR, GC etc. Please list some resources where i could learn the same Resources could be links/blogs/forums/groups/books/videos/audios etc Thanks! ...

XSL Transformation through code does not result in the same output as XSL transformation done through a tool.

I am transforming my XML file to another XML file using the XslCompiledTransform classes available in the .NET framework 3.5 Here's my code. private static void transformUtil(string sXmlPath, string sXslPath, string outputFileName) { try { XPathDocument myXPathDoc = new XPathDocument(sXmlPath); ...

What exactly is a web framework?

Is a web framework, such as Django and Ruby on Rails, simply a way of displaying code that could be written normally over http? Or is it used for more server side things, such as storing data. Is it used as a front-end or back-end for websites? ...

Assembly creation guidelines

Is there any rule of the thumb as to the number of static functions you can have in an assembly? How do you recognize if a function needs to be static v/s a function that doesn't need to be static? ...