application-design

Inplace Editing vs. Edit Page

When you develop web applications, especially ones that deal with a good amount of data management (e.g. contacts, addresses, orders and so forth), do you usually create the interface as in-place edit or make a separate "edit" page (and a view-only page)? Why / What is the advantage of one over the other? I'm trying to make a decision o...

C# What is my best option? Service/Application/Multiple Applications

Hi, I am developing a solution that requires a number of tasks to be completed at various times. Example: Task 1 - Monitor mailbox, process mail items Task 2 - Monitor mailbox (different folder), process mail items Task 3 - Generate PDF reports Task 4 - Monitor folder, distribute files via email as attachments when new ones arrive. ...

What is the best deployment approach for WPF applications with local database?

I want to make a WPF application that exists in one directory including all files that it needs: .exe, .mdf database, .xml config files, etc. the application should work no matter what directory it is in so that it supports this scenario: person 1 executes the application in c:\temp\wpftool.exe the application reads and writes to the c...

AIR application design

Hello! I would like to make some AIR application which would be used for tracking jobs inside a company. The idea is to create some database which will handle all the data and, when other users form other computers modify data, it is always saved on that same 'server'. So, more than one user can edit same database, and it would be great ...

AS3: How to organize code, in case remote services are called

Hi! In my flex application I use services a lot. I need them to update my data in the application, so call them quite often. Currently I implemented it in the following way: 1) There is a service provider (AMFLoader class) 2) And response handler (Responder class) The code looks like this: public function AMFLoader(url:String):void {...

Looking for advice for implementing a versioning feature in our application.

I am starting a project to create an "object versioning" feature for our software (.NET 3.5 / SQL Server 2008), basically it needs to do this: a user is looking at a customer: last name is "Smith-Johnson" 2 addresses (saved in different table) 1 product purchased 1 employee contact (saved in different table) 200 mails (saved in differ...

Multiple websites running on same codebase?

Hi, We are developing an application that would be offered as a hosted solution. I am struck with understanding how can i use multiple sites with same code without duplicating base code. eg: website 1: www.example.com and website 2: www.sample.com will run on same code, but would have different configuration settings, and different them...

PHP language barrier design problem

Background I need to design a set of utility classes that will ease out file system access to several types of remote services (Local, FTP, WebDAV, SVN, SSH), and I cannot seem to get a "perfect" design mostly because of a language barrier - I feel that every design path I have chosen was scraped because PHP did not have support for a s...

iPhone multi view application design question

Hi! I have a question about iPhone app design approach... I have in mind to make some complex application and I think that the best base for my needs is "Tab Bar Application" template. Actually, I've been looking some apps on iPhone, and AppStore's design is definitely what I need; a Tab Bar based app with different options on the top - ...

overcoming 'log file sync' by design?

Advice/suggestions needed for a bit of application design. I have an application which uses 2 tables, one is a staging table, which many separate processes write to, once a 'group' of processes has finished, another job comes along a aggregates the results together into a final table, then deletes that 'group' from the staging table. T...

Can theme be out of system in code igniter?

I am developing application, where i want to make theme independent of system in code igniter. these themes are just css files and images, not necessarily views. in codeigniters MVC. these theme shall be selected by database variable. how can id do this? ...

ASP.NET: Role-based security and page design

I have a page with a couple of grids and a small form with 7 controls. The grids show ancillary data. Overall there are about 320 lines of code-behind that handle various events. I have the requirement that one particular role is only supposed to edit 3 fields out of the 7, whereas all other roles with access to this page can edit all of...

Building a three tier architectural model for a web application based on a provider model design pattern?

After just re-building my role-base security framework base on a custom provider design pattern, I thought it would be a nice approach to build an entire application framework based on the provider pattern (where the area of concentration would be between the BLL and DAL). Can someone help with a skeletal high level view on how these tw...

rails, `flash[:notice]` in my model?

I have a user model in which I have a method for seeing if the user has earned a "badge" def check_if_badges_earned(user) if user.recipes.count > 10 award_badge(1) end If they have earned a badge, the the award_badge method runs and gives the user the associated badge. Can I do something like this? def check_if_badges_earned(user...

Is it safe to store data in XML?

We are developing an application and it demands storing data in XML coz it will be used by another application. now question is would it be possible to restrict access to that xml file. and make it readable only through our application? if yes.. how to do it? ...

Django: Chicken or Egg question.

I am building an application that will send an API call and save the resulting information after processing the information in a APIRecord(models.Model) class. 1) Should I build a separate class in such a way that the class does the API call, processes the information (including checking against business rules) and then creates an insta...

Reusing MySQL results

Hi there, I'm having somewhat theoretical question: I'm designing my own CMS/app-framework (as many PHP programmers on various levels did before... and always will) to either make production-ready solution or develop various modules/plugins that I'll use later. Anyway, I'm thinking on gathering SQL connections from whole app and then ...

What design alternatives are there for nested page controls?

In our primary application, we have a form that will allow us to do cross tab analysis of data in four different ways. Presently, each analysis appears in its own page of a PageControl on the screen. Now, upper management would like us to add in a historical aspect to the form, which in other areas we would use a PageControl to do, but...

reading remote PC disk capacities via .NET framework

I'm planning on writing a small program that uses the .NET framework to read disk capacities on remote Windows PCs. I normally write in C#, so I'd like to stick with this. A number of us in our department need access to this program. Should I write this as: a desktop app an MMC snap-in an ASP.NET application with a service? Any...

How To (or Even Should I) Get Started With EJB?

A little bit of background first: Last year I started working at a medium-sized auto insurance company -- we're in several states, but we're not as big as GEICO or Progressive or anything like that (yet). Our primary software system is old (written in RPG) but reasonably stable. We're wanting to make our in-house applications availabl...