New answers tagged

0

MVVM is Model-View-ViewModel Model is the server side representation of the data that your application represents View is the presentation layer the UI - HTML ViewModel is a javascript object that contains the models. The view model is a code abstraction of the UI - HTML and shouldn't have any knowlege of the HTML representation, which allows it to be ...


0

The easiest way is to look into webdav. This uses http PUT requests to upload files to a URL. With nearly all OSes, you can simply drag and drop the file into a file explorer window, or map the webdav URL to a local directory/drive letter.


1

You have to take into account also: Security, you need in any case protect your application against any threat and in this regard Web-based apps have the disadvantage because they are exposed to the Internet which is and will never be a secure place. It is important to specify the security features required for the system and if you are going to use a cloud ...


1

No - web development is very competitive with native app development. Overall architecture: Most modern fat client applications communicate with middleware, rather than directly to the database. With .Net the middleware is typically a SOAP web service. Many modern web applications are single page applications. In this architecture, a JavaScript client ...


13

Building a web application is absolutely more complicated and harder to build than client-server, for a given set of features. There are a variety of reasons and ideas I'll describe in no particular order. The highest voted question of all time on this site is What technical details should a programmer of a web application consider before making the site ...


3

In my experience it doesn't have to be more expensive to write a web application. We recently did some research to decide what approach to use for our own future projects. From developing a lot of windows applications we decided to move to web applications instead. In my opinion there are a few big advantages for using a web application. Often more easy ...


7

No, not necessarily. What you need to understand is that the Web architecture is a Client-Server architecture, it's just that the Client here is provided for you (the browser). The real question is, does the browser meet your requirements? Can it perform all the operations you want of the Client? If so, it may well be easier to re-use that existing Client. ...


0

I'm from the Java World, but things are pretty similar, so here are some hints about rights checking in my opinion. If your right is a right like "have the right to perform action X". Then you should check before routing and in the service layer. The check in the service layer is to be sure that whenever you call that service, you'll have a said check. ...


0

Authentication should happen after routing but before calling controller or its methods. At that point you know which route was requested and can check if user has privileges to perform a certain action (call controllers). This allows not only to separate concerns, but also to decide how to handle unathorized requests before they hit controllers - eg. ...


1

Also, don't be afraid tot tell me it's a silly idea. It's a silly idea :P And here's why: Data caps. The primary hog when it comes to data are things that happen in the background without any user's consent. You wouldn't want to be leeching off a person's data. Battery and heat. Of course, processing takes up resources and resources doesn't come free, ...


2

It's certainly being done, but I think whether it's a good idea depends on the style and size of application. How big is this application and how long will it live? It's harder to trace behavior and refactor with a very long path of code that might rely on the object-properties and relationships, meaning it has to be inspected and fixed as a unit. (As ...


0

I would propose a more objective basis. Go to your existing HTTP logs. Assuming this is an update to an already in the field app, simply pull the logs and examine the HTTP requests which are included. This provides an absolute objective basis fore your load modeling instead of a wetted finger in the air to test the wind. Also, keep in mind from a QA ...



Top 50 recent answers are included