Coding Reporting Utilities. Desktop ◦ C# 5 years Web-based ◦ ASP.NET (C#) 5 years ◦...

39
Experience Coding Reporting Utilities

Transcript of Coding Reporting Utilities. Desktop ◦ C# 5 years Web-based ◦ ASP.NET (C#) 5 years ◦...

Page 1: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.

Experience•Coding

•Reporting•Utilities

Page 2: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.

Desktop◦ C#

5 years Web-based

◦ ASP.NET (C#) 5 years

◦ ASP.Classic (VB) 2+ years

◦ PHP 3+ years

◦ HTML5 1 year

Coding

Page 3: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.

Desktop◦ A utility for converting Unix Time (seconds from 1

Jan 1970) to a standard time format Reason: To display data accessing a MySQL database

where the timestamps were in Unix time, to a more user-friendly format

Examples

Page 4: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.

Web-Based◦ A utility for uploading documents for student

reference and which accompany courseware presentations Reason: To enable management to efficiently

add/edit courseware reference in database and to upload documentation

Examples

Page 5: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.
Page 6: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.

PHP w/ MySQL◦ Our Learning Management System (LMS) uses

PHP w/ MySQL, housed on an IIS7 server C#.NET (.NET 4.0) w/ SQL and MySQL

◦ C# uses MySQLDriverCS.dll to communicate with MySQL databases on the LMS

◦ In-house apps/pages are developed in C#.NET

(Older apps were done in ASP.Classic w/ MS Access.)

Reporting

Page 7: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.

PHP/MySQL◦ Class Performance

Tracks average time spent on courseware and the average grade for each test/exam per class

◦ Filtering Per Class

◦ Technologies PHP5 MySQL5.1

◦ Software MySQL Workbench PHPMyAdmin Notepad++

Reporting

Page 8: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.

Class Performance

Page 9: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.

Class Performance

Page 10: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.

Class Performance

Code Sample◦ SQL String and form display (excerpt)

Page 11: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.

Inventory Activity◦ Tracks download of courseware from LMS site

To ensure that only validated users have access to those courses

◦ Filters Every column

Can filter out or filter for Can have multiple filters

◦ Technologies C#.NET MS SQL

Reporting

Page 12: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.

Inventory Activity◦ Software

MS Visual Studio 2010 SQL Server 2008

Page 13: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.

Inventory Activity

Page 14: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.

Inventory Activity

Code Samples◦ From AJAX, for filtering (excerpt)

Page 15: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.

Inventory Activity

Code Samples◦ Filters for SQL query (excerpt)

Page 16: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.

Inventory Activity

Code Samples◦ SQL query

Page 17: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.

Inventory Activity

Code Samples◦ Table builder (excerpt)

Page 18: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.

Student Performance◦ Tracks time spent on each lesson per student◦ Filters

Student name Course

◦ Technologies C#.NET MySQL

MySQL instead of MS SQL because LMS uses MySQL◦ Software

MS Visual Studio 2010 MySQLDriverCS.dll

Page 19: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.

Student Performance

Page 20: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.

Student Performance

Code Samples◦ MySQL query

Page 21: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.

Student Performance

Code Samples◦ Filters from AJAX (excerpt)

Page 22: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.

Reporting Section of AJAX code used by various

reports

Page 23: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.

Reporting SQL stored procedures (SProcs)

◦ Used for our in-house CBT authoring application Database integrity, preventing SQL Injection Organization of SQL statements into one area (as

opposed to have query statements all throughout)

Page 24: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.

SQL SProcs

Get Page Object by Object Location◦ Returns recordsets from multiple tables to display

which pages are using a particular media file (narration, video, Flash). This is used in conjunction with other SProcs for the

purpose of page deletion

Page 25: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.

SELECT statement (excerpt)

Get Page Object by Object Location

Page 26: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.

If/Else statement (excerpt)

Get Page Object by Object Location

Page 27: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.

Search Replace text◦ Searches for and (if chosen in interface) replaces

text found anywhere in the entire course Search also in narration script, image alt tags, as well

as instructor notes (notes used by instructor if lesson is a classroom presentation)

SQL Sprocs

Page 28: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.

Search portion

Search Replace text

Page 29: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.

Replace portion

Search Replace text

Page 30: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.

Copy SCO◦ “SCO” is an e-learning term (based on the SCORM

model) which denotes a chapter or section◦ Copies every recordset from a particular SCO,

within several tables (including task notes and objectives)

..\copySCO.txt

SQL Sprocs

Page 31: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.

Web-based, data-driven utilities used for in-house tasks

C#.NET and MS SQL◦ GUI◦ Console

Utilities

Page 32: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.

TimeOff Tracker◦ Used by both employees and management to

record and track employees’ approved time off ◦ Technologies

C#.NET MS SQL

◦ Software Visual Studio 2010 MS SQL Management Server

Utilities

Page 33: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.

Time off input

TimeOff Tracker

Page 34: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.

Report

TimeOff Tracker

Page 35: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.

Code Samples◦ Parameterized Statements (excerpt)

TimeOff Tracker

Page 36: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.

Graphics Renamer◦ Console App◦ Renames all graphics’ names in a course with

current course number As the USAF syllabi change, so do course numbers

Utilities

Page 37: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.

Code Samples◦ SQL String

Graphics Renamer

Page 38: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.

Code Samples◦ Console input/output (excerpt)

Graphics Renamer

Page 39: Coding Reporting Utilities.  Desktop ◦ C#  5 years  Web-based ◦ ASP.NET (C#)  5 years ◦ ASP.Classic (VB)  2+ years ◦ PHP  3+ years ◦ HTML5  1 year.

Crystal Reports

Have downloaded trial of Crystal Reports and am currently learning the interface.

Epilogue