PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Sun Oct 22, 2017 7:33 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Visitor Entry System
PostPosted: Sat Feb 18, 2017 8:42 am 
Offline
Forum Newbie

Joined: Sat Feb 18, 2017 8:29 am
Posts: 3
Hi Guys

I want to design a Visitor Entry system - just wondering if PHP / MySQL would be best suited to achieve my goal.

Let me explain:

We have a system at our company we sell - it was passed it us from another company who could no longer support it as the guy that made it vanished.

Its currently made with a aspx back end (admin website) which uses IIS. It also collates all visitors into a few different access databases. The system is compiled by our "developer", using Visual Studio. He knows nothing about CSS etc, so the entire system just looks dated and is very temperamental.

Basically, we use some Russian made D Logic Fob/Card RFID readers - these output an 8 digit code, we then use the backend to apply these numbers to a user.

User then swipes the card and it will sign them in and out. You can also fill in the backend, staff members etc and they can log in/out without a fob or card.

I just need to know if PHP is the route I should go down. Ideally I would like the program to be an Executable file, that I can just install - I assume PHP cannot do this.

As developers, and people who know what they are doing, what would you design this in?

I'm an IT Support Technician by trade, but consider myself durable enough to fugure it out, but would like some initial advise on what area to start in.

Thanks for your time.


Top
 Profile  
 
 Post subject: Re: Visitor Entry System
PostPosted: Sat Feb 18, 2017 10:22 am 
Offline
Spammer :|
User avatar

Joined: Wed Oct 15, 2008 2:35 am
Posts: 6573
Location: WA, USA
This does not sound like a job for PHP, but it could probably still do it one way or another. This doesn't sound like a job for ASP.NET and IIS either, for that matter.

The issue is getting the codes from the RFID readers. How does that work now?


Top
 Profile  
 
 Post subject: Re: Visitor Entry System
PostPosted: Sat Feb 18, 2017 11:48 am 
Offline
Forum Newbie

Joined: Sat Feb 18, 2017 8:29 am
Posts: 3
The RFID reader has software that opens in the background called ufr simple.

The guy who made the app somehow then incorporates this into the app so they can log in and out.

I would ideally want to use one of the cheap RFID USB readers off eBay that are plug and play. It outputs the RFID tag to notepad or any field you select.


Top
 Profile  
 
 Post subject: Re: Visitor Entry System
PostPosted: Sat Feb 18, 2017 2:16 pm 
Offline
Spammer :|
User avatar

Joined: Wed Oct 15, 2008 2:35 am
Posts: 6573
Location: WA, USA
Is the signin process just a matter of swiping a card? Or does the person have to do something with the admin site, like click a button or whatever?

They claim to have Javascript examples, however it looks like it's really backed by a Java applet so that's not fair.

Without knowing too much about how the system works, I think that ASP.NET is the best option for you: they have an SDK that works with C#, ASP.NET can run processes in the background of the web server which PHP cannot do (not in the same way at least), and most importantly you already have a system that works. Sure it looks bad, but even if you rewrote it from the ground up you could still use whatever code already exists to deal with the reader so you're already saving some time.


Top
 Profile  
 
 Post subject: Re: Visitor Entry System
PostPosted: Sun Feb 19, 2017 2:50 am 
Offline
Forum Newbie

Joined: Sat Feb 18, 2017 8:29 am
Posts: 3
Yeah, if the users are assigned fobs or cards. Then they just place their card over the fob reader and a little boring looking grey box pops up saying "John Smith In" etc.

I agree with making the existing program look a little better, just wanted to know if it was easy enough to create a new one (more of a personal project really)

I have never used C# or ASP, only ever PHP. So just wondered if it could be done using the cheaper RFID readers.

The readers we use are very expensive, have to be ordered from Serbia, and they are very slow. Plus we have to pay customs tax every time!

These are what we currently use.

https://www.d-logic.net/nfc-rfid-reader-sdk/products/ufr-classic

These are what I want to use.

http://www.jmprime.co.uk/product_info.php/iso14443a-1356mhz-rfid-contactless-usb-desktop-mifare-reader-output-uid-of-card-or-tags-usb-p-95?osCsid=f96c803a37c76be58afef6c4f0c7a609


Top
 Profile  
 
 Post subject: Re: Visitor Entry System
PostPosted: Sun Feb 19, 2017 4:28 am 
Offline
Spammer :|
User avatar

Joined: Wed Oct 15, 2008 2:35 am
Posts: 6573
Location: WA, USA
Well, like I said before, neither PHP or ASP.NET (that is, webpages and a server) sound like the best tools for this job. But they could do it.

Whether you use the current RFID readers or something else is a different matter that you need to take up with your boss. IMO that is what decides what you do:
- The current reader looks like it would work better with C# and I would recommend redesigning the app instead of rewriting it.
- The Mifare reader is essentially a keyboard, so anything that works with a user typing in their ID would also work with the reader. PHP, ASP.NET, Windows app, it would all be the same.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: Bing [Bot] and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group