Skip to content

Commit

Permalink
Merge pull request #43 from ryoung141/master
Browse files Browse the repository at this point in the history
finished lab09, added F16_lab09.md and final remarks
  • Loading branch information
Tektonbuilds authored Dec 2, 2016
2 parents 6b544c7 + 1a75334 commit 4553e3b
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 3 deletions.
28 changes: 28 additions & 0 deletions F16_lab09.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
Jim Vargas and Richard Young F16_lab09

#Issues:

[Issue #22](https://github.com/UCSB-CS56-Projects/cs56-scrapers-ucsb-curriculum/issues/22)
300 pts

[Issue #23](https://github.com/UCSB-CS56-Projects/cs56-scrapers-ucsb-curriculum/issues/23)
100 pts

[Issue #28](https://github.com/UCSB-CS56-Projects/cs56-scrapers-ucsb-curriculum/issues/28)
150 pts

[Issue #30](https://github.com/UCSB-CS56-Projects/cs56-scrapers-ucsb-curriculum/issues/30)
200 pts

[Issue #32](https://github.com/UCSB-CS56-Projects/cs56-scrapers-ucsb-curriculum/issues/32)
250 pts

[Issue #34](https://github.com/UCSB-CS56-Projects/cs56-scrapers-ucsb-curriculum/issues/34)
100 pts




#Total:

1100 pts
23 changes: 20 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ The long term goal is to be add UCSB Courses directly into a Calendar program (e
project history
===============
```
W14 | jstaahl 4pm | kmai12 | Parser for the UCSB curriculum search
F16 | jimvargas 6pm | ryoung141 | Jar compatibility for webapp
W14 | jstaahl 4pm | kmai12 | Parser for the UCSB curriculum search
```

## Documentation
Expand All @@ -30,11 +31,21 @@ You will see that the fields in the UCSBLecture and UCSBSection classes correspo
## Usage
To run the course scraper with a GUI, do:

ant gui
ant run

To run the course scraper using just the terminal, do:

ant run
ant cli

To generate the Jar file for the cs56-webapps-curriculum repo, do:
```
ant golderJar
```
The golderTest target is largely unused, except for demo purposes, but can be accessed by:
```
ant golderTest
```


If this is the first time running it, it will automatically download the course curriculum search page's SSL certificate. You should verify that this is the correct SSL certificate. After it has installed the SSL certificate, the course scraper will run. Once you select the search criteria: DEPARTMENT, Quarter, Year, Level. (e.g. CMPSC, Spring, 2014, Undergraduate)
Hopefully you will see the following when running the GUI.
Expand Down Expand Up @@ -64,4 +75,10 @@ To the next set of students working on this project, I encourage you to look thr
As for bugs, the most troubling one we found in our time with the project was that the program would seemingly not work at times. We found that the fix for it was to simply refresh the course page in our browser. Once that's done the program would once again find your desried course. We couldn't quite figure out the cause of this bug, but it's something to make note of.
You could add, as mentioned in the first paragraph, more search criteria to the program as a new feature. Right now you make the search using the aforementioned: DEPT, QUARTER, YEAR, LEVEL system; however, what if you want to just look up "Courses with professor Conrad"? The possibilities here are limited to just what kind of search criteria you may find useful! Porting the program to an Android App would also be pretty handy if you want to search through courses on the go.

F16 Final Remarks:

To the next group of students, we would recommend looking frist at the UCSBCurriculumSearch file as that one contains all of the actual accessing and scraping of the UCSB Curriculum website. It's a fairly complex file, but with some perserverance, things begin to become clear. The rest of the files are much more simple to understand once you understand what is going on in the UCSBCurriculumSearch file. In regards to the UCSBGui file, it has now taken on the role of being a demo for both testing, and presentation, and as such, I would not recommend spending too much time working there. Focus your efforts more on refactoring the UCSBCurriculumSearch file and expanding JUNIT test coverage.

In addition, make sure to work closely with the group that has cs56-webapps-curriculum as their project to ensure the things you may be changing are still compatible with their needs as well as expanding functionality to suit their needs. The two projects combined can grow into something awesome, so go out there and make it awesome!


0 comments on commit 4553e3b

Please sign in to comment.