Jump to content
Sign in to follow this  
milo_ais1

Koding Baca Rfid Dalam Php

Recommended Posts

first of all, rfid interface..basically, rfid reader biasanya guna UART communication protocol melalui serial port. First kena developed atau install rfid 'driver' yang boleh di integratekan dengan web browser. memandangkan ko nak guna php, ianya web based application..web based application accessed through web browser..

so, dlm erti kata lain..php xsesuai dengan rfid interface..dan impossible untuk directly applied in php programming..mesti ada satu interface between hardware n software layer..it called middleware..

Share this post


Link to post
Share on other sites
biasanya orang akan guna programming VB atau C/C++ untuk develop satu software untuk read info dari serial port dan gunakan win socket untuk communicate dengan server atau web untuk record data atau sebagainya. User pulak boleh access recorded data daripada webpage. Ni salah satu cara yang agak mudah.

Atau boleh create plugin untuk web browser (eg. Chrome, Mozilla, Internet Explorer) untuk communicate dari serial port dan web server. Tapi ia agak complicated jika nak dibandingkan dengan cara di atas sebab ia melibatkan compatibility dengan web browser.

By the way, what the purpose of this project? Apa aplikasi yang nak dibina?

Share this post


Link to post
Share on other sites
Mesti pakai php ke? My idea, better guna VB.NET+SQLite. Guna local database. The problem with php is it cannot interact with 'hardware' layer. Kalau sistem ni perlu online, then boleh guna win socket untuk communicate dengan server. Or else, boleh buat LAN sistem di mana TCP/IP communication antara host dgn clients. Dan data centralize pada host.

Kalau benda ni bleh consider, maybe aku dapat tolong.

Share this post


Link to post
Share on other sites

Mesti pakai php ke? My idea, better guna VB.NET+SQLite. Guna local database. The problem with php is it cannot interact with 'hardware' layer. Kalau sistem ni perlu online, then boleh guna win socket untuk communicate dengan server. Or else, boleh buat LAN sistem di mana TCP/IP communication antara host dgn clients. Dan data centralize pada host.

Kalau benda ni bleh consider, maybe aku dapat tolong.

betul tu. sbb php ni scripting language je..server side scripting..untuk develop sistem berasaskan web ok la..

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...