Monday, August 4, 2014

Day 21: Pet Adoption App

This is my first full C# app. Click here to see the site. It's a pet adoption site.

I finished my first week of C# and completed mt first weekend project.  We have moved into a different module with a new teacher, Jason.  He has a lot of coding experience, even though he's younger than all of the students.  His teaching style is much different form Alex and I'm still adjusting to it.  Alex has a gift for making abstract concepts concrete by using crazy, extended metaphors.  Jason just tells what commands to write into the visual studios.

We learned more about the MVC model this week.  We separated our code using encapsulation.  This makes it easier to collaborate with other developers.  It also makes it easier to maintain the code and adjust parts as the needs of the website or app changes, while leaving other parts untouched.  Unfortunately, in reality this take about five times longer for me to write the same code as before.

The Project
Click here to see the project
 
This is a pet adoption app.  The homepage shows all the pets you can adopt.  You can click on a drop down on the right-hand side to see the pets by type.  You can also add new pets or edit their information.

I used ASP.NET, and Razor for this app.  I used an if statements to make rows of three pictures.  I seeded the data with Singletons.  The project had full CRUD (create, read, update, delete).  We haven't learned how to link our project to a database yet, so there is no persistence.