frameworks

Which java web framework to learn?

I'm interested in a learning a java web development framework and I'm looking for some recommendations/suggestions on which one I should learn (and why). Ideally, I'd like the framework to: Be MVC based. Have minimal if any configuration Have an easy to use ORM Have decent session management Be easy to pickup I'm fam...

NSSound undeclared on iPhone?

sound = [[NSSound alloc] initWithContentsOfFile:@"staticbeam09.wav" byReference:YES]; Code referenced from Apple docs. Getting an error when I put this in viewDidLoad. If I put NSSound *sound; in the header file, I get the specifier-qualifier error at the top of my implementation file. What do I have to do to make this work? I was j...

Frameworks that support complex nested forms ala Rails' accepts_nested_attributes_for?

I'm working on a small side project for a friend and I need to build complex forms dynamically from a set of predefined types which in-turn are persisted via the underlying object model. So far I'm using Rails 2.3.4, accepts_nested_attributes_for, and a bit of Javascript. There's nothing wrong with this, I've just about got it modified...

iPhone #import ApplicationServices?

I'm trying to use CGBitmapContextCreate. According to Apple's documentation the ApplicationServices framework is required. When I went to add it, it wasn't in the list available (the latest version of Xcode changes things a bit), but I managed to find it manually in the Frameworks folder. However, I'm still getting "framework not found" ...

SIMPLE PHP MVC Framework!

I need a simple and basic MVC example to get me started. I dont want to use any of the available packaged frameworks. I am in need of a simple example of a simple PHP MVC framework that would allow, at most, the basic creation of a simple multi-page site. I am asking for a simple example because I learn best from simple real world exam...

Near People With Core Location

Hi Everyone: I am wondering if there is some way to find people that are near you using data supplied by the Core Location Framework. If you can get the other person's CLLocation's description attribute, I assume there must be some way to compare this in terms of location to your location. Thanks for any help. ...

Create VCards with iPhone Address Book Contacts

Hi Everyone: I am wondering if there is some way to create and send VCards based upon the iPhone Address Book information from my own app. On the Mac, there is some easy function in the built in app to do this, but I have not seen something on the iPhone like this. So, is there some framework or otherwise that enables me to turn conta...

Have you ever been the victim of a bug in a programming language or technology?

Bugs can be difficult enough to resolve when they're your (or a coworker's) fault. However, we all know that the technology we use to implement our programs is written by infallible people such as ourselves. So it stands to reason that some people have been affected by bugs in the implementation of the tools they used. So, have you fo...

Which compiled technology would you use today for a small web project?

I am about to start a small web project (let's assume something like a small Stackoverflow) and was wondering which technology/framework you would suggest in order to match the following requirements: must be compiler checked. no scripting. easy support for user friendly urls, SEO optimization, etc. open source. I guess Java seems t...

Framework design -- reading recommendations

I'm writing a small application framework which other programmers will use. So I'm looking to do some reading on framework design issues. I'm not completely new to framework design, but it's always a bit of a challenge. Although I'm looking for general design principles, this particular framework is for Javascript applications, so it wi...

How do you start the Framework Architect career?

I am a C# programmer, but like to crete/invent/architect things. Since I am in the technology industry I am sure I would like to architect new programing languages, frameworks or languages. Can you advise me on the correct steps to enter this field? My dream would be to work with teams who architect SQL Server or other databases, or .NET...

Java – Create a workflow in Quartz

I am considering using the Quartz framework to schedule the run of several hundred jobs. According to their API, jobs can be scheduled to run at certain moments in time but not to run one after the other (and stop a chain of jobs if one fails). The only recommended methods I was able to find are: Using a listener which notices the com...

Autocommit vs. Single Transactions (Small Project vs. Big Project)

Hi there, I am currently working on a very specialized PHP framework, which might have to handle large database transfers. For example: Take half of the whole user count; this should be every day's workspace for the framework. So, if my framework is required by big projects, is it recommend to use single transactions with multiple qu...

What framework(s) would you suggest for a strong, extensible dev platform?

First, let me apologize for Yet Another Framework Question. But I think this is different enough from the usual "What framework should I choose?" to warrant it. Here's my situation: For the past year I've been using a custom framework. It's been used on everything from small CMS's to larger sites and even a mid sized social network. It'...

Python library/framework to write an application that sends emails periodically

I am considering to write an application that would covert the comments in reddit threads (example) to emails. The idea is to parse the reddit json data (example) and send new comments as plain EMails to subscribed users. One of the users can be gmane, so you can also read the comments over there. The motivation for writing this tool is ...

Struts Versus Spring

Hi. Wanna ask which is better to use. Struts or spring. What are its edges over the other and the difference on their flow or how they work. ...

Can the Spring Framework be used for batch applications?

My company is switching to Spring for our Java framework, and from what I understand it will work well for that, but we also have many Java batch applications*. Does Spring have adequate support for running batch applications? What features of spring will be useful in this environment, and won't work at all? * Java command line progra...

How to insert array to mysql one word one row?

Hello all I am using Zend Framework. I would like to insert array $color = array('red', 'blue', 'green', 'yellow'); into mysql, one color to one row. How do I code this in my model file? Controller public function addAction() { $this->view->Title = "Add Colors"; $this->view->headTitle($this->view->title, 'PREPEND'); $form...

Bringing Enterprise Framework Upto speed

If a company has developed a framework for doing almost everything their business requires, but has following problems : With evolution and change of ownership the design has degraded. ( Absurd hierarchies ) Is not up to date with latest trends in enterprise software development. (Data Sets!!) Too many dependent modules. ( Not interfa...

doctrine orm: bypass lazy loading and prefetch related records in a getter

Working with Doctrine ORM, is it possible to enable auto eager loading of related records when using in a getter ? (without explicit leftJoins()) I know I can use a leftJoin() to obtain the object with related records, but I want to avoid creating a DQL query for every object and simply have some kind of automatic "prefetching" of rela...