Datapod-for-C#   Install PHP 5 on Windows   PHP5 Hosting  Datapod-for-C# Workshop   Datapod Theory   Book Reviews   Linux Journal  
   

Be informed when new content is posted to this site 
Datapod-for-C# Workshop
 by Edward Tanguay
This tutorial will show you how to use Datapod-for-C# Version 0.38 to create a database-driven website where users can log in with various rights to view and change information.
 Design: Morning Sun 
JULY 2007: THIS WORKSHOP HAS BEEN UPDATED HERE: Setup a PHP Development Environment on Windows XP With Apache, PHP 5, MySQL 5, SQLite, Eclipse, Subversion, PHPMyAdmin, and Datapod
This tutorial is hosted at A2Hosting. They constantly install the newest PHP5, have SQLite and XSLT, Python, Ruby on Rails, and excellent support. Use them if you need a site.

1. Ensure that you have the prerequisites for developing with Datapod-for-C#   2. Download Datapod-for-C# Version 0.38   3. Set up a virtual directory on your machine   4. Set up datapod in your virtual directory   5. Log in and add users   6. Create a welcome page   7. Create a members-only page   8. Create an item   9. Enter item data   10. Create page to display item data   11. Customize the look of your Datapod   12. Learn more  

Step 1: Ensure that you have the prerequisites for developing with Datapod-for-C#

Read This:
In this step we will make sure you have the hardware, software, and skills required to develop a website with Datapod-for-C#.

post question or comment

Do This:
  You need at least a 500 MHz PC with at least 256 MB of memory. The more memory, the better, of course. These requirements make sure that you can comfortably run the .NET environment on your machine.

Edward: You also have to have approximately 300 MB free on your hard drive to be safe (for .NET to be installed).
Edward: I just installed Datapod on another machine and before running JEdit had to install Java, which is VERY easy to install now,: just go to www.sun.com and click the "Get it now" button. The .NET install is very straightforward, just download it and install it. But when we ran Datapod for the first time, it said it couldn't connect to the Access Database. Problem: that machine didn't have the latest version of MDAC, so we went here: www.microsoft.com/data, downloaded and installed MDAC 2.8 (easy) and everything worked.
post question or comment

  You need Windows 2000, 2003 or XP Professional. Note that Windows XP Home will NOT work since it doesn't support the IIS server. Datapod-for-PHP5 will run on Windows XP Home.

post question or comment

  You need to have Internet Information Server installed. This is not always installed by default. You need your Windows CD to install it, go to START | Settings | Control Panel | Add or Remove Programs | Add/Remove Windows Components.


Rao: How to run project from localhost when we are using windows XP-SP2
post question or comment

  You need to have the .NET Framework installed. You can download and install the .NET Framework here. It is free.

post question or comment

  You need to have some kind of text editor to edit your files. I recommend jEdit which is a free editor that has dozens of useful features which make your development easier, e.g. abbreviations, shortcuts, macros, plug-ins, syntax color coding for C#, and an XML support which rivals XMLSpy for tag completion. Plus it is an editor which runs on both Windows and Linux to you can transport it whereever you go. You can also copy one settings file and carry around all your keyboard shortcuts and macros, etc. Very nice. Note: Don't use Web Matrix for Datapod since it doesn't notice when its open files are changed by another process (!), and since Datapod does a lot of automatic generation and editing of its own files, Web Matrix's lack of knowing when these files are changed underneath it causes you to overwrite important files without you knowing it simply by pressing the CTRL-S key. Don't use Visual Studio .NET either since Datapod files have a tag header at the top of them which confuses Visual Studio .NET. Use jEdit, instead. I'll try to make a tutorial on how to use it here soon. It's worth the time you take to learn it.


post question or comment

  You need to have an online website which supports ASP.NET, if you are going to host your Datapod application online, for instance, this account at Brinkster for $7.95 a month will run your Datapod fine. I have that account at Brinkster and have tested Datapod on it so I know that it works. You can even copy as many Datapods into as many sub-directories as you want and have as many as you want running parallel to each other.

post question or comment

  I recommend that you use the Firefox browser . It's a sleeker browser than Internet Explorer (see why) and I use it throughout this tutorial.

post question or comment

  You need to have at least beginning C# programming skills. If you are coming to Datapod-for-C# from a different language, you should have no trouble getting a Datapod site up using this tutorial.

post question or comment

  You should be able to set up a virtual localhost website in IIS on your machine. I have step-by-step instructions on how to do it in this tutorial but the procedure will vary depending on which operating system, what kinds of security/firewall, etc.

post question or comment

2. Download Datapod-for-C# Version 0.38



1. Ensure that you have the prerequisites for developing with Datapod-for-C#   2. Download Datapod-for-C# Version 0.38   3. Set up a virtual directory on your machine   4. Set up datapod in your virtual directory   5. Log in and add users   6. Create a welcome page   7. Create a members-only page   8. Create an item   9. Enter item data   10. Create page to display item data   11. Customize the look of your Datapod   12. Learn more