Slashdot Mirror


Ask Slashdot: Linux Database GUI Application Development?

New submitter msubieta writes I have been developing some applications to use in small businesses using Windows and SQL Server. I would like to move on and start doing the same thing in Linux. I have looked at several Frameworks/Databases/Development environments and I really don't know what is the best/simplest/fastest to learn approach. I use VS and C# mostly, although I could easily go back to C++. I found Qt and GTK+ are the most common frameworks, but they seem to lack controls that deal with datasets and stuff (sorry, spoiled by the .net form controls), but I also know that I could use Mono in order to make the jump. I would have no problem on moving to MySQL, as I have done quite a lot of work on that side, and I would like to stick with the traditional client server application, as I find it easier to maintain, and a whole lot more robust when it comes to user interaction (web apps for POS applications don't seem to be the right way to go in my view). Any suggestions/comments/recommendations?

8 of 264 comments (clear)

  1. Lazarus by Tablizer · · Score: 5, Interesting

    Look into the Lazarus project. It's a Delphi semi-clone.

  2. Heresy Alert by Jawnn · · Score: 5, Interesting

    I'm going to get jumped for saying this, but stick with Windows for fat client development. Unless you are looking at developing web apps, you are going to be almost completely disappointed at the selection of tools available to you on Linux when compared to those for Windows. I'm not saying that there aren't tools for doing this on Linux, but dear gawd, why would you want to when the VS tools are so much easier to work with. And by "work with" I mean get work done. Use MySQL on Linux as your db server, by all means, but do your client development with what you already know.

  3. Re:GUI Datasets by Richard_at_work · · Score: 5, Informative

    You might want to take a longer look at C# because there is no reason you can't just use Entity Framework to do exactly what you find it easier to do - create the model, creates readers and writers, abstract the database stuff away and just get to use plain C# objects, lists, collections and other things instead of cumbersome DataTables or Datasets etc.

  4. Re:Hakija by jedidiah · · Score: 5, Insightful

    You couldn't be more wrong if you tried.

    If you're willing to explore something other than what Microsoft has spoon fed you, there's more than enough shiny happy development interfaces out there.

    --
    A Pirate and a Puritan look the same on a balance sheet.
  5. Re:Rule #1 of development: Know your requirements. by TechyImmigrant · · Score: 5, Interesting

    >But if your goal is to have a POS application, stop writing code right now. There exist hundreds of off the shelf POS apps all ready. For Windows, for Linux, thick clients, thin clients, web, desktop, green screen, etc...

    And they are all shit.
    So I wrote my own. It's not shit. The staff tell me it's not shit.

    POSs are shit because they have to attend to the general case, whereas each store is a special case. I our case, there is nothing that comes close to addressing the particular needs of a yarn store (SKUd and non SKUd goods, hand made goods, goods my weight and/or volume, consignment goods, classes, group sessions etc). Go into a yarn store and see if they check you out by slowly clicking and typing at some horrible POS, they usually do.

    If you took my POS and put it in a hardware store, it would be shit.

    --
    I should use this sig to advertise my book ISBN-13 : 978-1501515132.
  6. Re:Java by AqD · · Score: 5, Insightful

    How about Java FX 8?

    Being actually using it for half of a year. It's a significant improvement over Swing and definitely superior to winform or GTK#, not so over WPF.

    A few problems with it:

    • * The data-binding/observable mechanism isn't directly compatible with old Java beans. The mechanism is the only reason I choose JavaFX. It also requires some learning and adaption to get used to the programming style but definitely worth it.
    • * Toolset is incomplete and you wouldn't even find any IDE with proper FXML support
    • * Documentation isn't too good and you'd need to read source code instead. The code is quite readable though.
    • * Lacks some basic controls (dialogs will be in next release) and you'd need 3rd-party libraries from the start (ex: ControlsFX).
    • * Loading complex UI takes time, as can be seen from their own demo Modena. Instead of constructing everything at once (as can be done in Qt or WPF without problem), you might need to manually lazy-load parts.
    • * Be careful of weak references/events used everywhere in JavaFX. Things could be GC'ed when you don't think they're supposed to be.
    • * Oracle deprecated the fluent builders API in v8. I recreated the generator and the API here JXTN which is also customizable
    • * It cannot embed native controls/widgets, though it can be embedded into others such as Eclipse RCP/SWT, as what I'm doing now.

    .
    .
    I don't think you'd find a better cross-platform choice. However it'd be very unsuitable for tighter integration with Linux desktop (notifications/WM/process/shell controls etc).

  7. Re:You're picking your tool before your problem. by DickBreath · · Score: 5, Funny

    When the only hammer you have is C++, every problem begins to look like a thumb.

    --

    I'll see your senator, and I'll raise you two judges.
  8. Re:Hakija by Anonymous Coward · · Score: 5, Interesting

    Yup. I develop on Microsoft, Linux, and OS X, and anyone who thinks there are better IDEs than VS are fucking delusional. There's a reason I charge a hell of a lot more to develop on Linux and OS X vs on a MS platform.