STAFF SYMPOSIUM ‐ IT TRACK
STAFFSYMPOSIUMSERIESINFORMATIONTECHNOLOGYTRACK
FACILITATORS
5/15/2018 Session 1: PII Data Management 1
Harold Garcia System Manager ‐ Atlanta, GA Chapter 13 Standing Trustee – Melissa Davey
Debbie Smith System Manager ‐ Robbinsville, NJChapter 13 Standing Trustee – Al Russo
Jim Smiley System Manager – Philadelphia, PAChapter 13 Standing Trustee – William Miller
Tom O’Hern Program Manager, ICF, Baltimore, MDSTACS ‐ Standing Trustee Alliance for Computer Security
STAFF SYMPOSIUM ‐ IT TRACK
MarriottBaltimoreInnerHarboratCamdenYards
WiFi Password xxxxxxxThe Conference Wi‐Fi is only for IT Track attendees ONLY. If we use more,
than someone won’t have Internet access! So keep it to yourself.
5/15/2018 Session 1: PII Data Management 2
STAFF SYMPOSIUM ‐ IT TRACK
StaffSymposiumITTrack
MaterialDownloadSite
https://www.stacs.net/symposium/2018
5/15/2018 Session 1: PII Data Management 3
STAFF SYMPOSIUM IT TRACK
ITTrackOutlineDay 1 Session 1 (9:00 ‐ 10:30) – NDC & PII Data Management Plans, Practices and Strategies Session 2 (10:45 ‐ 12:15) ‐ Cloud Migration
Lunch (12:15‐1:30)
Session 3 (1:30 – 3:00) ‐ Security Standards and Audits Session 4 (3:15 – 4:45) ‐ Solving the Tough Problem Happy Hour (5‐7) – Dempsey’s in the Camden Yards Building (Walk up Eutaw)
DAY 2 Session 5 (8:30 ‐ 10:00) ‐ System Management and Automation Session 6 (10:15 ‐ 11:45) ‐ Programming for the Trustee Office
Final Materials ‐ https://www.stacs.net/symposium/2018/
Session 1: PII Data Management 45/15/2018
STAFF SYMPOSIUM ‐ IT TRACK
ITTrackSession6:Programming
fortheTrusteeOfficeBasic programming and scripting skills can help system managers automate support tasks and improve business processes.
This session covers how to setup a development environment and provides a basic overview of commonly used programming and scripting languages. It then takes a deeper dive into specific programming and scripting solutions to automate common tasks in a Trustee office.
5/10/2017 SESSION 1 ‐ SYSTEM MANAGEMENT 5
Don’t Worry Marley Meter
STAFF SYMPOSIUM ‐ IT TRACK
The Basics of Programming
Web Programming
Scripting with PowerShell
Session Agenda
5/10/2017 SESSION 1 ‐ SYSTEM MANAGEMENT 6
STAFF SYMPOSIUM IT TRACK
BasicProgrammingConcept Getting Data from a data source◦ Command line output◦ Connecting to database and using SQL queries
Storing the retrieved data for manipulation
Generating output ◦ Updating the source with modified data◦ (PDF, CSV, XLS, HTML, TXT, Screen)
5/10/2017 SESSION 1 ‐ SYSTEM MANAGEMENT 7
STAFF SYMPOSIUM IT TRACK
BasicProgrammingConstructs Programming Language Syntax – The grammar rules for using the language Includes and Libraries (extending the language) Defining, assigning and changing Variables Storage arrays References Functions and passing variables Flow Control Input and Output
5/10/2017 SESSION 1 ‐ SYSTEM MANAGEMENT 8
STAFF SYMPOSIUM IT TRACK
StartingOutStrategy Understanding how Script or Program gets used◦ Scripting ‐ typically used on a command line to process output or execute a series of system commands
◦ Programming – uses a specific language, may need to be compiled to run on different systems. More complex (database, web server, OS), but more capability.
Reading and Modifying someone else code
Lots of programming videos in STACS video library
5/10/2017 SESSION 1 ‐ SYSTEM MANAGEMENT 9
STAFF SYMPOSIUM IT TRACK
Advanced Programming Setting up a development environment◦ Special editors that understand language and syntax ◦ Revision control software organizes code and track changes◦ Setting up a development systems (Virtual box)◦ Setting up support applications (web server, database)
5/10/2017 SESSION 1 ‐ SYSTEM MANAGEMENT 10
STAFF SYMPOSIUM IT TRACK
DatabaseProgrammingBasics Database : Tables : Fields SQL – Structured Query Language◦ Find table and field names to use in my SQL statements?◦ What applications can use to make SQL statements?
Basic SQL Commands◦ CONNECT – to a specifc database◦ SELECT – data conditionally from the fields in a table of the database Dump to standard output or INTO a storage array to manipulate
◦ INSERT and UPDATE – records in the database Danger, Danger – your updating the database
5/10/2017 SESSION 1 ‐ SYSTEM MANAGEMENT 11
STAFF SYMPOSIUM IT TRACK
UnderstandtheApplicationEnvironment
BSS – TNG◦ Microsoft IIS Web server(s), Microsoft SQL Database◦ Microsoft ASP/.NET programming language◦ Web browser client
EPIQ – Case Power◦ Oracle Database server◦ Thick client run from file share
Satori – TrustWin◦ Microsoft SQL Database◦ .Net client run from file share
5/10/2017 SESSION 1 ‐ SYSTEM MANAGEMENT 12
STAFF SYMPOSIUM ‐ IT TRACK
Demo:Asp.NetHarold Garcia
5/10/2017 SESSION 1 ‐ SYSTEM MANAGEMENT 13
STAFF SYMPOSIUM ‐ IT TRACK
ITTrack
Questions??,WebApplications
5/10/2017 Session 6: Programming for the Trustee Office 14
STAFF SYMPOSIUM IT TRACK
WhatdoesWebProgrammingmean? Web programming refers to the writing, markup and coding involved in Web development, which includes Web content, Web client and server scripting.
The most common languages used for Web programming are XML, HTML, JavaScript, Vb.net and PHP.
Web programming can be briefly categorized into client and server coding. The client side needs programming related to accessing data from users and providing information. It also needs to ensure there are enough plug ins to enrich user experience in a graphic user interface, including security measures.
5/10/2017 Session 6: Programming for the Trustee Office 15
STAFF SYMPOSIUM IT TRACK
HTMLCodingReference Reference Guide:◦ https://www.w3schools.com/◦ HTML Crash Course For Absolute Beginners (https://www.youtube.com/watch?v=UB1O30fR‐EE)
5/10/2017 Session 6: Programming for the Trustee Office 16
STAFF SYMPOSIUM IT TRACK
HowtoSetupIIS In Windows, access the Control Panel and click Add or Remove Programs.
In the Add or Remove Programs window, click Add/Remove Windows Components.
Select the Internet Information Services (IIS) check box, click Next, then click Finish.
Reference Guide:◦ (“https://msdn.microsoft.com/en‐us/library/ms181052(v=vs.80).aspx”)
5/10/2017 Session 6: Programming for the Trustee Office 17
STAFF SYMPOSIUM IT TRACK
DownloadVisualStudioExpressIDE Visual Studio it is your code editor and it is your main tool for developing a Interactive Web Page.
It is Free and has autocomplete code writing features.
Reference to Download:◦ (https://www.visualstudio.com/vs/visual‐studio‐express/)
5/10/2017 Session 6: Programming for the Trustee Office 18
STAFF SYMPOSIUM IT TRACK
DownloadBootstrapFramework Bootstrap is an open source toolkit for developingwith HTML, CSS, and JS. Quickly prototype yourideas or build your entire app with our Sass variables and mixins, responsive grid system, extensiveprebuilt components, and powerful plugins built onjQuery.
Reference to Download:◦ (https://getbootstrap.com/)
5/10/2017 Session 6: Programming for the Trustee Office 19
STAFF SYMPOSIUM IT TRACK
HowtocreateaNewWebsite Open Visual Studio Express IDE Click File and Click New Website Select from the Templates Section; Visual Basic as the default programing Language.
Select ASP.NET Empty Web Site Chose the Path Directory for the Website Reference:◦ https://msdn.microsoft.com/en‐us/library/k4cbh4dh.aspx
5/10/2017 Session 6: Programming for the Trustee Office 20
STAFF SYMPOSIUM IT TRACK
HowtocreateaNewWebsite
5/10/2017 Session 6: Programming for the Trustee Office 21
STAFF SYMPOSIUM IT TRACK
Howtoaddnewpagetothewebsite From the Website Tab Select the option add new item
Select Visual Basic Web Form Chose the Name of the page
5/10/2017 Session 6: Programming for the Trustee Office 22
STAFF SYMPOSIUM IT TRACK
Howtoaddnewpagetothewebsite
5/10/2017 Session 6: Programming for the Trustee Office 23
STAFF SYMPOSIUM IT TRACK
ExampleofemptywebsitePage
5/10/2017 Session 6: Programming for the Trustee Office 24
STAFF SYMPOSIUM IT TRACK
Howtoyoutestthewebsite In side you Visual Studio IDE you can test your website prior to move it to production.
In the tool bar you can press the play button and the IDE will display and run the website base on the preferred browser selected.
5/10/2017 Session 6: Programming for the Trustee Office 25
STAFF SYMPOSIUM IT TRACK
HTMLReferenceExample
5/10/2017 Session 6: Programming for the Trustee Office 26
STAFF SYMPOSIUM IT TRACK
SQLConnectionStringExample<% Dim connString As String = "Server=dataserver; Database=[Database Name]; User Id=[sqlusername]; Password=[sqlpassword]“ %>
5/10/2017 Session 6: Programming for the Trustee Office 27
SQL Connection String Example
STAFF SYMPOSIUM IT TRACK
SQLBasicSelectQuery
5/10/2017 Session 6: Programming for the Trustee Office 28
STAFF SYMPOSIUM IT TRACK
SQLBasicSelectQuery
5/10/2017 Session 6: Programming for the Trustee Office 29
STAFF SYMPOSIUM IT TRACK
SQLBasicSelectQuerywithParameter
Html address with the parameter (URL)
Servername:port/ProgramName.apsx?Parameters=param1
5/10/2017 Session 6: Programming for the Trustee Office 30
STAFF SYMPOSIUM IT TRACK
FullBuildExample
5/10/2017 Session 6: Programming for the Trustee Office 31
STAFF SYMPOSIUM IT TRACK
Questions?
5/10/2017 Session 6: Programming for the Trustee Office 32
STAFF SYMPOSIUM ‐ IT TRACK
MicrosoftPowerShellDemoJim Smiley
5/10/2017 SESSION 1 ‐ SYSTEM MANAGEMENT 33
5/10/2017 SESSION 1 ‐ SYSTEM MANAGEMENT 34