Home arrow PHP arrow Page 6 - Building A Document Request Protocol Part 1/2
PHP

Building A Document Request Protocol Part 1/2


Disparate systems communicate with each other using protocols. A protocol is a set of rules that governs the transmission of data between two independent systems. If you're familiar with protocols, then you will know that most are composed of simple, plain text commands. In this article Mitchell shows us how to create a protocol and implement it as a server using Visual Basic and Winsock.

Author Info:
By: Mitchell Harper
Rating: 5 stars5 stars5 stars5 stars5 stars / 2
February 23, 2002
TABLE OF CONTENTS:
  1. · Building A Document Request Protocol Part 1/2
  2. · Our protocol: SARP
  3. · The VB application
  4. · The ProcessCommands routine
  5. · Accepting new records from the client
  6. · Our VB App in action
  7. · Conclusion

print this article
SEARCH DEVARTICLES

Building A Document Request Protocol Part 1/2 - Our VB App in action
(Page 6 of 7 )

Throughout the last two pages, you would've noticed a lot of calls to the lstDetails.AddItem function. This function accepts a string, and adds the details of any data that is either retrieved or sent to the client to the listDetails list control.

Here are a couple of screen shots of our VB app in action. Obviously you’ll need to code up a client app before our VB app will function properly (and we will do that using PHP in part two of this article), but I just thought I would show you how it looks anyway:

Adding a new category:

Adding Lamborghini as a new category

Getting a list of articles:

Getting a list of all BMWs

Adding a new article:

Adding the Lamborghini Diablo
blog comments powered by Disqus
PHP ARTICLES

- Removing Singletons in PHP
- Singletons in PHP
- Implement Facebook Javascript SDK with PHP
- Making Usage Statistics in PHP
- Installing PHP under Windows: Further Config...
- File Version Management in PHP
- Statistical View of Data in a Clustered Bar ...
- Creating a Multi-File Upload Script in PHP
- Executing Microsoft SQL Server Stored Proced...
- Code 10x More Efficiently Using Data Access ...
- A Few Tips for Speeding Up PHP Code
- The Modular Web Page
- Quick E-Commerce with PHP and PayPal
- Regression Testing With JMeter
- Building an Iterator with PHP

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials