1
голосов
3ответов
514 просмотров

Flex 3 ,ASP.NET and WCF

I want to create a web app. I want to use WCF for distributed transactions, ASP.NET at the middle, and because Flash is so popular, I want to write the front end with Flex3. Does that sound like a good architecture to you ? are there any benefits including WCF ? Can Flex interact nicely with AS...

6
голосов
2ответов
1393 просмотров

Where do you put classes that are neither Controllers, Models, Helpers or ViewModels?

In an ASP.NET MVC application, what do you do when you have unique classes that aren't controllers, helpers or view-models? For example, say you have a class of utilities that are useful for processing map/location data. These utilities may be used by more than one controller. Would you create...

3
голосов
1ответов
169 просмотров

handling amorphous subsystems in formal software design

People like Alexander Stepanov and Sean Parent vote for a formal and abstract approach on software design. The idea is to break complex systems down into a directed acyclic graph and hide cyclic behaviour in nodes representing that behaviour. Parent gave presentations at boost-con and google (she...

2
голосов
1ответов
249 просмотров

How far can one take SimpleDB, OpenID and the Cloud?

I have an ASP.NET MVC app (non-transactional, social) I am workong on. I started using the .NET authorisation provider which does the job, but with the Cloud's lining getting more shiny by the day I was wondering just how much I can push up. Ultimately I want to do away with my ISP-hosted SQL Se...

3
голосов
2ответов
2422 просмотров

How to build a multi-view portal application in ASP.NET MVC

I was just watching Scott Hanselman's presentation on ASP.NET MVC in San Francisco. After thinking about it for a while, I was stumped as to how to best approach building an ASP.NET MVC-based site that has a [portal|modular|multi-view] structure (pick your favorite definition). To give you an id...

1
голосов
5ответов
383 просмотров

What are the specific security risks of this web services architecture?

I need ammunition to try to promote WS-Security for a set of externally-available web services that interact directly with our production customer service application. My vision is to implement IPassword provider and authenticate with our AD store. The architecture recommendation that came down f...

0
голосов
1ответов
85 просмотров

Help me with architecture to encapsulate my databases (maybe DI/IoC?)

I'm building a Windows-forms application that does some analysis that depends on 3 different databases. Two are actually geographic databases (ESRI) and one is a standard CRUD-type repository of information. Let's call them GeoRefDatabase, GeoResultDatabase, and RulesDatabase, respectively. Ther...

0
голосов
1ответов
114 просмотров

Advice re. Windows Forms application - "local" and "network" modes

I've started to build a Windows Forms application. The application will work in two different modes: local (1 user, opening and saving files just like a Microsoft Office application) network (multiple users, all accessing a shared database in another host of the network) For the local mode I ...

3
голосов
1ответов
1306 просмотров

How to structure Javascript architecture to complement a PHP MVC web app?

I am working on a new JavaScript architecture for a web app iteration. The previous iteration had lots of inline code, scattered includes, no directory structure for .js files and everything was in the global namespace. I am aiming to: keep the script includes in the footer, keep everything in an...

5
голосов
3ответов
1510 просмотров

.NET: How do you decide how to structure your Namespaces?

I'm wondering what guidelines you guys are using for determining the structure for your Namespaces. When do you decide something warrants it's own Namespace? I read in a forum discussion or article that a best practice is to go for a shallow tree with as few child Namespaces as possible but can'...

1
голосов
2ответов
99 просмотров

Are partially updated values when multithreading still a concern on modern CPUs?

From the Wikipedia article on Read-Copy-Update: The reason that it is safe to run the removal phase concurrently with readers is the semantics of modern CPUs guarantee that readers will see either the old or the new version of the data structure rather than a partially updated reference. Is...

6
голосов
5ответов
2602 просмотров

Looking for good server-side language that will allow players to upload code that can be executed

I had an idea of a program I want to write, but which language would be best is my problem. If I have a car racing game and I want to allow users to submit code for new interactive 3D race tracks (think of tracks such as found in the Speed Racer movie), vehicles and for their autonomous vehicles...

3
голосов
2ответов
2028 просмотров

Implementing Business Logic in 3 Tier Architecture

I have a web application I am working on and so far I have the data access layer finished. Each table has its own class that creates objects of rows of that table, so each object represents a row of a table. The functions each object has is basically CRUD operations. The question I have is, what...

0
голосов
5ответов
10438 просмотров

ASP.NET Application - Architecture and Class Diagrams

I am new to ASP.NET Development. Could anyone please refer a document/tutorial/link which gives a sample code, architecture, class and sequence diagrams for 3 / 4 / n tier based simple ASP.NET application/example? It would be of great help to me.

1
голосов
1ответов
88 просмотров

Infrastructure: models as an external to an application to avoid stored procedures

My thoughts: I absolutely despise stored procedures for various reasons: cost, scalability, and compatibility. Cost: I can get 2-3 good light weight web application servers for the cost of one good MySQL server. Scalability: Sure I can cache query results, but when using stored procedure...

1
голосов
2ответов
2284 просмотров

Linq to Sql - DataContext design issues and considerations in ASP.NET MVC application

I am using "Single data context per atomic operation" approach while using Linq to Sql in an ASP.NET MVC application. So far, I have been using a singleton datacontext, which I learnt has many issues, so I refactored the code to use single datacontext per atomic operation. An example of a contr...

2
голосов
2ответов
4751 просмотров

Architecture of Liferay Project?

I have to design High Level Architecture for Liferay Project. Is there any sample document for Portal Architecture related to Liferay / J2EE?

10
голосов
4ответов
468 просмотров

Allowing for high level of variation in Actions and Views and Models

I am designing a product management system. I am wondering the best way to handle a large amount of variation in each Action/View in my application. The app handles 20 categories and 12 Target Markets, each of which affect the data that needs to be collected for each product. For example, the "Qu...

5
голосов
1ответов
157 просмотров

Windows App or Local Web App

I have a new project, requirement are: Organised groups of users at multiple geo locations answer test questions using this software. We cannot rely on consistent internet connection, in case it goes down during test. My question's are: Q1. Based on assuming no internet connection, I guess I...

1
голосов
5ответов
231 просмотров

Is there any site where to look for a data modeling inspiration?

Here's my problem: I'm about to design and implement quite a big sales module on top of an existing business (web) application. What I need is basically this - a complete e-commerce layer without the public part of it (I don't need a cart, payment gateways etc.). I'm going to build this thing fro...

1
голосов
1ответов
352 просмотров

Multiple class libraries in business layer, or one?

My ASP.NET application uses only 1 SQL Server 2000 database and no more than 50 tables in it. And I copied an instance of the database to run on my develop PC, so I need to switch the connections between dev and release. The problem is, I had created multiple class libraries in my business layer...

555
голосов
15ответов
295985 просмотров

What's the difference between REST & RESTful

What's the difference between a REST system and a system that is RESTful? From a few things I've read most so called REST services are actually RESTful services. So what is the difference between the two.

0
голосов
1ответов
385 просмотров

Website Safe Data Access Architecture Question

I'd like to get some opinions on what I am planning to do is safe, safe from people hacking into data. We have a database in city A. In city B we have a company that has an internal network, and a server that has two application servers on it that each run an application, App. 1 and App. 2. App...

2
голосов
3ответов
2469 просмотров

PHP - Extension vs. Library vs. Class - when and why

I'm trying to accomplish a task and turns out that the code I need is packaged as a PHP extension, which according to what I've been told means I have to have root access to install it (I'm on shared hosting so that's a bit of a problem. I'll solve this problem later, but for now I'm trying to ...

1
голосов
3ответов
2122 просмотров

Retrieve a list of object implementing a given interface

Intro I am building a plugin architecture in my app. The plugins implement a given Interface IBasePlugin, or some other interface which inherited from the base interface: interface IBasePlugin interface IMainFormEvents : IBasePlugin The host is loading the plugin assemblies, and then creates ...

0
голосов
2ответов
64 просмотров

Update Command -Architecture Question

scenario: you need to update 2 fields of a customer you don't have a method UpdateCustomer yet anywhere in your project Should you create a method called UpdateCustomer(Customer customer) that can take in a full customer object and just do an all update to all fields or for example (obviousl...

2
голосов
4ответов
2410 просмотров

How do I maintain state across multiple web servers?

Can I have multiple web servers hooked up to a SQL Server cluster and still maintain a user's session? I've thought of various approaches. The one suggested by the Microsoft site is to use response.redirect to the "correct" server. While I can understand the reasoning for this, it seems kind o...

3
голосов
4ответов
234 просмотров

Are there any scalability best practices specifically for sites with huge audiences?

While this question has been asked in a variety of contexts before, I can't find any information pertaining specifically to sites targeting very large audiences - for example on the scale of hundreds of thousands or even millions of users. When writing sites that target smaller audiences (such a...

0
голосов
3ответов
749 просмотров

Custom ServiceBus and "adapter" for it using WCF

Currently im developing a server for satelite monitoring of objects. In its current state it is very efficient and stable in hi load scenarios. Server must be able to handle 50+mln messages per day, or more if load balancing is used. It consists of gps data gateway(singleton), "databroker"(single...

13
голосов
10ответов
679 просмотров

Why shouldn't I give outsiders access to my database?

Lots of sites today have APIs that allow users to get data from the site as XML or JSON using a GET HTTP request. Flickr and del.icio.us are example of sites with APIs. These APIs require the server to access the database, and then output the result as either XML or JSON. Why do we need this tr...