Tag Info

New answers tagged

0

Normally when you have to design the interface to be compatible with multiple platforms, the approach is to go with the lowest common denominator between the UI framework + components. So theoretically it is possible, provided that you only use the things that make sense and are supported in all the platforms that you want to port to. In practice, this ...


5

"Hardware is Cheap, Programmers are Expensive" The cost between a low end computer and a high end computer is generally a few hundred dollars. That investment will be amortized over a few years. If you save 10% on compilation time or the IDE responds more quickly when opening or code completion in the IDE works faster by investing in the higher performing ...


-2

Today is better to use cloud solutions like IBM Bluemix - http://www.ibm.com/cloud-computing/bluemix/ or https://appery.io/ etc. You do not need knowledge such as hardware and software configuration of servers, etc.


2

In the MVP pattern is the View is "dumb". It doesn't really do anything. The presenter acts as the controlling object in the heirarchy, while the Model stores the data and has business logic methods on it. That doesn't preclude the View from firing events, which are hooked by the Presenter to methods or properties on the model, or to other testable logic ...


1

The purpose of the MV* patterns is primarily to provide separation of concerns between the UI and the rest of the system. Your Audio Player Service, if it also includes the player, uses the entire pattern. If it's just streaming data, it's the model.


0

I am not a specialist but here are my two cents. I assume that your webservice runs on a Java EE application server. all the writes to the DB should come from your application server so you should be able to generate events in your code every time you write to the DB instead of webservice which are best for queries from the client, you could use either ...


1

You most certainly should credit the author(s) of any code which you yourself did not write. Not only is this the descent thing to do, but in may cases it may be a legal requirement. When someone creates a repository on Github they are given the option to add a standard licence to the repository e.g. GPL, LGPL, BSD, MIT, Apache, etc. They may instead have ...


0

SQLite is awesome but it is "not optimised" for insert speed (but note that you can run it in significantly faster 'async' mode which will not protect your data if something crashes - this may be acceptable for your use-case if you don't mind losing some of those data points) You'll be better off appending to a filestream.


1

For a definitive answer, one would have to measure, and I am sure it will be possible to create a badly implemented CSV writer which is slower than a well written SQLite writer. However, when it comes to writing sequential data records to a file, there is not much out there which can beat using to a simple file stream in speed. Each additional layer of ...


0

Isn't the version of the app tied to the version of the server? Let's say you implement some new features, doesn't your app have to be updated as well as the server component? In that case I would have the app make a request to the server when it starts. The server can simply send an indication to apps making this starting request that it is outdated. The ...


0

No struggle, you can create a small sample code using your favorite language (PHP, Java or C#) and give it as integration sample of GCM into your clients, of course on this sample you can hide your Google API Key and ask them to create theirs.. If they do not know how to create one, well you can create a small how to.. I am not Guru but the TCP and sockets ...


2

What strategy would one adopt to test such a form? You have to separate the GUI from the decision logic by adding a decision function that only depends on business attributes and not on GUI elements: bool isNativeLanguageInputVisible(RegistrationData currentRegistrationData) Your GUI would use this decision function to control visibility and your ...



Top 50 recent answers are included