January 2007 - Posts

At the end of this post you will find links to attachments for Visio (DFDTemplate.vst) and Word (DFDTemplate.dot) data flow diagram templates that I recently created. Feel free to use them for homework assignment 1 if you wish but remember doing the DFDs by hand is also completely acceptable.

For both templates, simply copy and paste each symbol whenever you need a new one.

For the Visio template, to edit the text you will first need to click on the pointer tool, then select the relevant symbol, then click on the text tool. The text should now be editable.

Visio: http://isom.uoregon.edu/docs/DFDTemplate.vst

MS Word: http://isom.uoregon.edu/docs/DFDTemplate.dot

Posted by gcastner | with no comments
Filed under:

A problem I've encountered on my website and seen on others is when text wrapping causes text to overflow the borders of its container. Here is an example style and associated properties to avoid this problem occurring:

.yourstyle

{
min-width:250px;
width:100%;
display:block;
overflow:hidden;
white-space:nowrap;
}

In my case, the style is applied to a series of <li> tags.

The 3 key properties are display, overflow, and white-space.

Posted by gcastner | with no comments
Filed under: ,

Many faculty and students in the Lundquist College of Business use their I: Drive to store files. Sometimes, however, you can't connect to your I: drive. You might be travelling or your Internet connection might be down. You can still work with your files, however, if you make them available offline. You can then synchronize your files when you are reconnected to your I:Drive.

Note that making files available offline only makes sense on your own computer because a copy of the files is stored on your computer. Don't try to do this on a lab computer.

Here are the steps (steps 1-7 need only be performed once):

1. Open the folder that you want to make available offline (e.g. your I: Drive folder)

2. Click on Tools from the menu

3. Click on Folder Options

4. Click on Offline Files

5. Click on Enable offline files

6. Choose your prefered synchronization times (my preference is to synchronize only when logging off).

7. Click OK.

8.  For each folder that you want available offline, right click the folder and select 'Make available offline".

That's it - hope it helps.

Posted by gcastner | with no comments

Software downloads sometimes are formatted as ISO image files. An ISO image file is an exact representation of a CD or DVD, including the content and the logical format. ISO files end with either an .ISO or .IMG extension. The extension might need to be changed to work with your CD writing software.

You have a number of options when working with ISO image files:

1. Burn the file to a CD (DVD if its a DVD image). Common utilities for writing an ISO file to recordable media such as CD-R include ISORecorder (free), Nero, and Roxio. Note: you must use the special "copy image to CD" or "burn image" functionality except for ISORecorder whose primary purpose is to burn CD and DVD image files. See your software’s Help for detailed information.

2. The contents of images files can be extracted to your hard drive using utilities such as WinRAR (trial version lasts 40 days), ISObuster or DaemonTools.

3. Image files can be mounted locally using the Virtual CD-ROM Control Panel for Windows XP.

Source: msdn.microsoft.com

My preference is option 2 above - using WinRAR

Posted by gcastner | 1 comment(s)

Your uoregon account supports php pages. If you want to copy your pages from the students.oregonebiz.com server to the uoregon server, here are the steps. (You can see why we use the oregonebiz.com server for class :) ).

1. Set up your uoregon account for web pages. The UNIX command line instructions are available at http://cc.uoregon.edu/webpageunix.html. If you would prefer to use a graphical user interface (GUI) rather than a unix command line, here are the steps. It requires the SSH secure file transfer client, available from the duckware CD.

(a) Open the SSH Secure file transfer client application

(b) Connect to your uoregon.edu account (Host: uoregon.edu)

(c) Create a folder called public_html in the remote view (right column)

(d) Right click on the new public_html folder and click on properties.

(e) Check the following permissions:
         Owner: Read, write, execute
         Group: Read, execute
         Other: Read, execute
      The permission mode should now be 755. Click OK

2. In Dreamweaver or your preferred web page editor, add the following line to the top of every PHP page:

#! /usr/local/bin/php
This line must go BEFORE everything else. Don't leave any spaces or blank lines before this line.
It must go before your <?php include "header.php"; ?> line if you have one. You can't simply put it in include header.php once because this line tells the server where the php application is (and you need PHP to interpret the include line).
3. Upload your pages to the public_html folder using either Dreamweaver or the SSH Secure File Transfer Client. If your using Dreamweaver, the remote info is:
FTP Host: shell.uoregon.edu
Folder: public_html
Username: your uoregon username (same as email)
Password: your uoregon password (same as email)
Use Secure FTP (SFTP) must be checked.
4. Back in the SSH secure file transfer client, you must set permissions for each PHP page. The steps and permissions are the same as those described at (e) above except you need to right click on the php file (or files) instead of the public_html folder.
Your URL is http://www.uoregon.edu/~username (so long as your homepage is index.html)

5. Because uoregon.edu is a Unix server, you might need to check your links. Unix is case senstive (unlike Windows). For example, linking to index.php is different to linking to Index.php

6. If your php pages don't work, it could be because line breaks (what happens when you press Enter) are different in Windows and Unix. To fix this problem in Dreamweaver:
(a) Go to Edit --> Preferences --> Code Format
(b) Change Line Break type to LF (Unix)
(c) Click OK.
If you're not using Dreamweaver, open up the SSH Secure Shell Client, change to your public_html directory (chdir public_html) and use the following command:
 
cat old.php | col -b > new.php
Good luck! If you want to use mySQL with your PHP pages, my recommendation is to go with a web hosting company such as godaddy. The uoregon server doesn't really support mySQL databases.
References: http://hr.uoregon.edu/davidrl/php.ppt (especially for noting the Dreamweaver preference option and Unix command for line breaks).
Posted by gcastner | with no comments
Filed under: