MECHENG401:Design Notes

From Marks Wiki
Jump to navigation Jump to search

Home

  • The case where the building has concrete shear walls, the user must input a list of wall shear areas and lengths. This is to be done via javascript, where for each wall, a new field is put on the page, and behind the scenes the values from all the fields are concatenated into a string, separated by a particular symbol. This can be sent to the bean. The bean will have to parse the String looking for the separator character and parse each token into the double it is. These will then be put into a list.
  • Prepared statements can be generated by concatenating a string with ?s and adding the fields to a list which is then iterated through
  • We need to consider indexing, such as index the IEP table by building id, so that all IEPs for the same building can be found quickly