EE296 – Web-based Truth Table Program Jason Axelson Bryant Komo.

Slides:



Advertisements
Similar presentations
JavaScript FaaDoOEngineers.com FaaDoOEngineers.com.
Advertisements

Utilizing the GDB debugger to analyze programs Background and application.
CIS101 Introduction to Computing Week 08. Agenda Your questions JavaScript text Resume project HTML Project Six This week online Next class.
1 An Introduction to IBM SPSS PSY450 Experimental Psychology Dr. Dwight Hennessy.
ASP Tutorial. What is ASP? ASP (Active Server Pages) is a Microsoft technology that enables you to make dynamic and interactive web pages. –ASP usually.
MSc. Publishing on WWW JavaScript. What is JavaScript? A scripting language devised by Netscape Adds functionality to web pages by: Embedding code into.
B.Sc. Multimedia ComputingMedia Technologies Database Technologies.
Web-based Truth Table Program S07 EE296 Project. Introduction Team IDK: Jason Axelson, Bryant Komo Roles: Designers, testers, programmers.
CS 898N – Advanced World Wide Web Technologies Lecture 6: PERL and CGI Chin-Chih Chang
EE296 – Web-based Truth Table Program Jason Axelson Bryant Komo.
Creating Tables in a Web Site Using an External Style Sheet HTML5 & CSS 7 th Edition.
Creating Web Page Forms
Introduction to JavaScript. Aim To enable you to write you first JavaScript.
Collections Management Museums Reporting in KE EMu.
Reporting in EMu Crystal != Reporting or Why is reporting so difficult and can we do anything about it? Bernard Marshall KE Software.
ITM352 PHP and Dynamic Web Pages: Server Side Processing.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
Internet / Intranet CIS-536 Class 7. 2 HTML Forms A Method to Allow Users to Pass Information to a CGI Script Forms Allow Information to Be Entered Via:
Internet Forms and Database Bob Kisel Amgraf, Inc.
University of Sunderland CDM105 Session 5 Web Authoring Tools The past and present A history of web authoring tools and an overview of Macromedia Dreamweaver.
BASIC EXCEL 2007 Mrs. Macias Computer Science Summer 2008.
9 Chapter Nine Compiled Web Server Programs. 9 Chapter Objectives Learn about Common Gateway Interface (CGI) Create CGI programs that generate dynamic.
Mastering Char to ASCII AND DOING MORE RELATED STRING MANIPULATION Why VB.Net ?  The Language resembles Pseudocode - good for teaching and learning fundamentals.
Section 17.1 Add an audio file using HTML Create a form using HTML Add text boxes using HTML Add radio buttons and check boxes using HTML Add a pull-down.
Java CGI Lecture notes by Theodoros Anagnostopoulos.
INTRODUCTION TO JAVASCRIPT AND DOM Internet Engineering Spring 2012.
Ahmad Al-Ghoul. Learning Objectives Explain what a Microsoft Project environment and Project Server. Describe how to use the Ribbon, Quick Access Toolbar.
Quick Reference notes  Part of the Microsoft® Office Fluent user interface, the ribbon is the rectangular region across the top of the document window.
Productivity Programs Common Features and Commands.
Just as there are many human languages, there are many computer programming languages that can be used to develop software. Some are named after people,
Website Development with PHP and MySQL Saving Data.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Lesson 2 Manipulating.
HTML Form Widgets. Review: HTML Forms HTML forms are used to create web pages that accept user input Forms allow the user to communicate information back.
Introduction to JavaScript CS101 Introduction to Computing.
I Power Higher Computing Software Development Development Languages and Environments.
On the data side of the application… In the beginning, we needed to translate the ideas for the game’s dialogue progression and how the player would interact.
Chapter Three The UNIX Editors.
DB MidWare CSIS 4490 N-Tier Client/Server Dr. Hoganson Database Middleware Early client/server database systems –Two tier –Server does business logic (data.
Chapter One An Introduction to Programming and Visual Basic.
WDDX Case Study: Building a Cross CFUG Search April Fleming.
Introduction Selenium IDE is a Firefox extension that allows you to record, edit, and debug tests for HTML Easy record and playback Intelligent field selection.
Mrs. Macias Computer Science Summer Continue on Excel Project #3 Format Column Titles and the Total Row  Click cell A3 and drag to select A3:G3.
Javascript JavaScript is what is called a client-side scripting language:  a programming language that runs inside an Internet browser (a browser is also.
JavaScript Overview Developer Essentials How to Code Language Constructs The DOM concept- API, (use W3C model) Objects –properties Methods Events Applications;
Web Programming Overview. Introduction HTML is limited - it cannot manipulate data How Web pages are extended (include): –Java: an object-oriented programming.
Python Lesson 1 1. Starter Create the following Excel spreadsheet and complete the calculations using formulae: 2 Add A1 and B1 A2 minus B2 A3 times B3.
PHP Form Processing * referenced from
1 Lesson 18 Getting Started with Excel Essentials Computer Literacy BASICS: A Comprehensive Guide to IC 3, 4 th Edition Morrison / Wells.
Excel Chapter 1 Creating a Worksheet and an Embedded Chart
Software Development Languages and Environments. Computer Languages Just as there are many human languages, there are many computer programming languages.
Teaching slides Chapter 6. Chapter 6 Software user interface design & construction Contents Introduction Graphical user interface – Rich window based.
Section 10.1 Define scripting
4.2 Microsoft Word.
Microsoft Word Objectives
5.2 Microsoft Excel.
WWW and HTTP King Fahd University of Petroleum & Minerals
New “Tricks” in Sierra Create Lists
Section 17.1 Section 17.2 Add an audio file using HTML
Guide To UNIX Using Linux Third Edition
CONTENT MANAGEMENT SYSTEM CSIR-NISCAIR, New Delhi
Intro to PHP & Variables
Customization
4.2 Microsoft Word.
5.2 Microsoft Excel.
This is where R scripts will load
Shelly Cashman: Microsoft Word 2016
This is where R scripts will load
This is where R scripts will load
Linux Operations and Administration
Presentation transcript:

EE296 – Web-based Truth Table Program Jason Axelson Bryant Komo

Brief Overview We are doing a web based version of truth_table which was used in EE260 to create truth tables and create hex files for the eprom. We are doing a web based version of truth_table which was used in EE260 to create truth tables and create hex files for the eprom. Our project will be written mostly in JavaScript, which is an interpreted scripting language for the web Our project will be written mostly in JavaScript, which is an interpreted scripting language for the web We will also use cgi which is a script (we're going to use C, but many other languages are possible) that runs on the server. We will also use cgi which is a script (we're going to use C, but many other languages are possible) that runs on the server. Our program will be better than truth_table. Our program will be better than truth_table.

Goals(at least partially completed) Table expands automatically when you get to the bottom Fill the table with canonical order Ability to enter commands with only keyboard Get a working interface Manipulate the table (e.g. Add rows, insert rows, add inputs) Save the file in a.HEX format as well as our own format Ability to copy and paste from excel

Initial Goals (uncompleted) Use Bool to simplify data in table Ability to load and save data to/from the truth_table format Ability to check if the table has repeated data Load files directly from the.HEX file Resort table into canonical order Expand all X values in table Undo button!

Final Status Interesting Design Features The interface Ability to fill in the table with canonical order Ability to paste in data from excel Save_hex function

The Interface It will be possible to enter data with both keyboard and mouse. It will be possible to enter data with both keyboard and mouse. There is a table with all the information in the middle, with buttons to manipulate the data on the side. There is a table with all the information in the middle, with buttons to manipulate the data on the side.

Problems with Interface Difficultly scripting across browsers Difficultly scripting across browsers Partially solved by checking browser and using specific code depending on which browser is used Partially solved by checking browser and using specific code depending on which browser is used Changed the main data representation in the middle of the project Changed the main data representation in the middle of the project Just had to slog through change most of the functions Just had to slog through change most of the functions Had to learn JavaScript on the fly, made mistakes that we wouldn’t make now Had to learn JavaScript on the fly, made mistakes that we wouldn’t make now Learned more, changed some things after the fact Learned more, changed some things after the fact

Current Problems with Interface Need to change to a new--and better--data representation (again). Need to change to a new--and better--data representation (again). Will rewrite almost all of the code Will rewrite almost all of the code Need to figure out way to pass entire table to a cgi script. Need to figure out way to pass entire table to a cgi script. Need to add ability to change variable names on the fly Need to add ability to change variable names on the fly Need to add variables a sub array of the main data representation Need to add variables a sub array of the main data representation

save_hex function Converting the data representation from truth_table. Converting the data representation from truth_table. Extracting only valuable functions from the truth_table program Extracting only valuable functions from the truth_table program Using global variables Using global variables

Problems Translating truth_table’s curses to normal programming Translating truth_table’s curses to normal programming Pointers Pointers Function produced a rubbish.HEX file Function produced a rubbish.HEX file Time Time

Current Problems The rubbish.HEX file The rubbish.HEX file

Future Improvements Time – this project takes quite a deal of time since we have to learn as we go along. Time – this project takes quite a deal of time since we have to learn as we go along. It may have also worked better if we designed our own.HEX conversion functions or just passed the table info directly to the truth_table program It may have also worked better if we designed our own.HEX conversion functions or just passed the table info directly to the truth_table program