sql - Communication between two computers and a database -
i'm student programmer , i've landed task @ job develop software system monitor when employee's clock in, clock out, , log times. employee's use keypad attached computer @ front desk enter employee id gui clock them in/out. there's gui office manager use monitor employee in , outs, , keep track of who's in office.
the project windows form project in vs 2010, 2 gui's (as mentioned), , access 2007 database store data. office manager gui has datagridview object i'd populate employee name, , time (s)he clocks in or out. happen in real time. in other words, once employee clocks in, populates in office managers gui. i'm looking best practice approach. should take client/server approach? should have trigger database alert office manager gui fire event clock in/out time of employee populated office managers datagridview?
the database , queries have been designed. i'm looking best practice approach problem. i'm junior level college student , come stackoverflow.com time. first question, either way big step me :) in advance.
if microsoft aligned (and using .net etc) may find easy enough take sql express route (all tools microsoft design similar , integrate quite together).
you can download sql express advanced services (any version 2005 onwards should fine project, long includes management studio, , might want reporting services)
my approach poll database every , monitor changes in clock in/out table(s).
i not use access it's not best solution actual database , doesn't scale particularly well. whilst work fine project, it's worth getting hands on sql server experience it.
i'm assuming clocking in/out view show page of employee names, , based on date - in case firing query every 5-10 seconds @ database current state won't cause issues.
whilst it's possible push notifications sql client, easy if not easier rig timer @ client end , won't cause performance impact in application of scale
Comments
Post a Comment