Results 1 to 2 of 2

Thread: Qt Electronic parts catalog

  1. #1
    Join Date
    Oct 2011
    Posts
    51
    Thanks
    5
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Qt Electronic parts catalog

    Hi!

    First a couple of words about my project.

    Quite long time ago I noticed that electronic parts that I buy are often duplicated in my "local storage" e.g. I buy the same resistors/cap/uCs and so on, that I have already in inventory. I decided then, that I will create an application to store my inventory state. There are lot of applications on the market to do this (e.g. http://partsinplace.com/ ) so why I decided to develop my own app?

    1. I want to have a mechanism that will allow me to find parts by parameters, and not by e.g. description or ID. This mechanism, should be intelligent enough, to propose a replacement part for a missing element in my project. Even to propose e.g. pair of resistors with condition (R1+R2)/(R1*R2)=X
    2. I want one big database file that contains "all" electronic parts, in which anyone can add elements, but only "admins" can "approve" this element and let anyone to use it in own projects.
    3. It should be possible to integrate it with a small terminal, or uC. (not full app, but only some parts of it, e.g. a terminal that can only add, or take an element from inventory)
    4. Every user should have it's own "working" area (own storages and projects) that can't be seen by other users
    And the last one. I just don't like web applications

    And because of the points above I decided that
    1. I use a postgres database and it's brilliant json fields, for saving a variable number or parameters to each element and, in the future, use GPU for more complicated queries http://www.slideshare.net/kaigai/gpg...tes-postgresql
    3. I use protobuf (can be used in embedded devices in simple way) as protocol, and QWebSocket for convenience
    2. and 4. I "write" a server that is a "bridge" between user and database to force privileges

    I decided to use "Thread Per Connection" pattern, and Db connection per thread. But in the future I want to force using only couple of threads (1 thread per core). To connect to database I use pqxx library instead of QSql (a simple library, with possibility to pass db connection between threads).

    What i have?
    1. an "working" sql schema, and couple of database designs that will not be a good idea in this project
    2. acl check functions
    3. protbuf messages design
    4. many sql queries written
    5. many ideas how everything should work

    Full source code of this app is available at https://github.com/cszawisza/QElectr...talog/tree/dev
    Now I'm in the middle of "redesigning" whole application, because I noticed earlier that I had a couple of big design errors. All actually redesigned classes are listed in server/server.pri file

    What I need is a little bit of help from other, more experienced users, in design, and writing good unit tests for my application.

    My question is: Is there someone that want to help me with application design? Please write on priv or email

  2. #2
    Join Date
    Oct 2011
    Posts
    51
    Thanks
    5
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Qt Electronic parts catalog

    project moved to https://github.com/cszawisza/eedb

    still hoping for cooperation

Similar Threads

  1. Keep assets catalog on iOS after new build
    By patrikd in forum Qt Quick
    Replies: 0
    Last Post: 4th November 2014, 14:49
  2. porting catalog to Qt5
    By saman_artorious in forum Qt Programming
    Replies: 1
    Last Post: 16th September 2013, 21:34
  3. Use QScrollBar and QLayout to display product catalog?
    By Kevin Hoang in forum Qt Programming
    Replies: 10
    Last Post: 13th May 2010, 15:43
  4. how to configure only some few parts of the Qt?
    By FS Lover in forum Installation and Deployment
    Replies: 6
    Last Post: 29th November 2009, 18:13
  5. Replies: 4
    Last Post: 5th November 2008, 19:24

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.