Web Development

  • Dynamically bindable click events
  • Using JQuery to bind events to elements that do not exist on page load
  • Nov. 9, 2014, 12:39 p.m.
  • When building a dynamically AJAX driven web app it is occasionally necessary to bind an event, such as a click, to an element that does not exist in the DOM on page load. Imagine that an AJAX call is made for a newly added object and a button is added to the HTML:

  • Migration and Consolidation
  • Moving legacy PHP sites from Bluehost to WebFaction
  • July 17, 2014, 6:34 a.m.
  • When I originally created stggolf I had only known how to write HTML and CSS for about 3 months, and I only knew of one hosting provider: Bluehost. Bluehost was perfectly fine and suited my needs well, but I have since moved from PHP to Django/Python as my pref...

  • Continue reading
  • Generic Foreign Keys in Django
  • Using content types for generic foreign keys in Django models
  • May 4, 2014, 5:13 p.m.
  • Sometimes it is necessary to use a generic foreign key in a Django model class instead of a foreign key to a specific model. One example could be a photo model that you would like to use for a profile model and a event model in some kind of social networking app. Django provides this functio...

  • Continue reading
  • What I learned while creating TravelViewr
  • All of the new things I got to do while creating my Senior Project
  • April 23, 2014, 8:36 p.m.
  • During the process of creating TravelViewr, I learned a lot about the full stack of a web application. I previously had an intermediate understanding of Django and was able to successfully do most of the basic CRUD operations, but TravelViewr contained a lot of server side programming that we...

  • Continue reading

Categories