Tag Info

Hot answers tagged

11

Short Answer: You would definitely have less headaches with a single database. Otherwise, you may end-up with record synchronization issues, as well as with record duplicates, in all local databases that you might use. What would you need is just to create a DAL (data access layer) and make your client applications (desktop, wen, mobile, etc) access your ...


8

I wouldn't refrain from using Qt just for those reasons. You are not required to use all of Qt's utility classes; for the ones that replace the STL, you'll at most be forced to use QString and, possibly, QStringList. Also, there's usually much more to a program than the GUI. You can always use exclusively generic C++ for the rest of your program, and use Qt ...


4

Yes it is possible. And may I also add that it should be for easier maintenance and modifications. As I read you specs, it is very likely to develop using a single database, since you are using MySQL and light and easy to start. No you can not claim that MySQL is for only web application. Many applications are there of product and tool domain which are ...


3

You have a few patterns you can follow with .NET development. This is coming from a WinForms background - I've not used GTK# although it's probable that the skills are transferable. Both methods you've discussed are acceptable but which is correct depends on what you're trying t achieve. Derive a class and override the functionality you require. This is ...


3

It looks like orders are common to both databases - if so then it makes sense to use the one common database as there is no need to synchronize the two. If there is no commonality in the data, then keep them separate. A couple of things if you are going to have them together in one database. 1) Create a separate log-on for the web and desktop applications. ...


2

You could also consider a third approach, a single database and a web API for the application to access the information. This way you don't need to directly expose your SQLServer to external sources and can better manage what the application accesses. It is also easier to update a web API to changes in the database structure than redeploying the desktop ...


2

Sure it is possible, mySQL is a database server, and is designed to support connections from multiple sources, whether these are local or remote. However, when installed on a webhost, by default mySQL is typically configured to only allow local connections for security reasons. There is a setting in the configuration file to enable/disable remote ...


2

It is valid to share the same database between desktop apps and web apps. However, I don't see why you need desktop technology per-se. You have 2 different groups of functions that has different users but that does not call for using a desktop and web-based application environments. There is usually a benefit of hiding your database from the web if you don't ...


2

I agree with most of high praise of Qt, but the question was What's the best GUI framework to use that allows/requires the most use of generic C++ and the STL? In this respect Qt is a little schizophrenic: it duplicates STL containers and algorithms with it's own twists. It also provides containers, which are different than STL. Interoperability between Qt ...


2

I would not worry too much about not using specific STL librarys like std::string or std::iostream or std::vector. The QT-equivalents come in a different flavour but they are not so far off to make any problem. The more idiomatic difference in my opinion seems to be the programming style heavy on using new for allocation. While for a QT program this might ...


1

Grk::manage() solves the specific problem of lifetime management for hierarchies of widgets. And it solves it well. Smart pointers (shared_ptr in particular) have broader application range, and therefore will be less efficient when used to address this specific problem. Lifetime management for hierarchies of widgets can be solved with shared_ptr, but it ...


1

Use a virtual machine to run several versions of windows and test on all of them, VirtualBox is a free virtual machine.


1

@Ilmo Euro's answer is correct, but as someone who is maintaining an application with similar target platform requirements, I would like one thing to add. We indeed encountered some small compatibility issues when Windows 7 was published, but non directly from the Windows API. The things we had to consider were: the changed concept of default user rights ...


1

Are you using any of Windows' native features and/or non-standard C++ (apart from Qt extensions)? If not, the software is supposed to work on all platforms Qt/GTK support, including the Windows versions you mention. Develop on the platform you like most, and test on all platforms you want to target. Most of the compatibility differences between Windows ...


1

No, there isn't. Workspaces are implemented by un-mapping the windows in inactive ones and re-mapping windows in the newly-active one. The pixels that make up the unmapped windows don't actually exist anywhere until they're re-mapped. You should also be aware that that while most servers these days have backing store enabled, X doesn't guarantee that ...


1

Usually when building GUIs using GTK+ they design the application in Glade and then import it into the code via GtkBuilder. From the Glade website. Glade is a RAD tool to enable quick & easy development of user interfaces for the GTK+ toolkit and the GNOME desktop environment. The user interfaces designed in Glade are saved as XML, and by ...


1

I haven't tried it myself, but when asking similar questions about doing GTK layouts in Ruby on StackOverflow, I was recommended VisualRuby. It looks fairly solid to me, though unfortunately it was recommended after I finished doing my layouts (and considering that this answer is coming late, I fear the same may be true for you). It looks like it's ...



Only top voted, non community-wiki answers of a minimum length are eligible