journal
all ![]() | Rob is 20,118 days old today. |
Oct 2012 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Dec 2012 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 2011 jan feb mar apr may jun jul aug sep oct nov dec
2013 jan feb mar apr may jun jul aug sep oct nov dec |< << more >> >| |
Entries this day: date-with-lin workin-on-my-backbone date with lin ##21:53 Tuesday 27 November 2012 Lin and I went on an impromptu date tonight, first visiting the ramen place adjacent to Kawasaki station, but turning away from its 20 minute line. We were going to go to the cheap and delicious Chinese place with the cute-nosed waitress, but then I suggested we try Taro's restaurant. Taro stands out on the corner soliciting customers, and has a super genki personality that piqued my curiosity enough to try the place. Plus he speaks English (and German, and Spanish,) and Japanese. 4000 yen for not enough to fill us is not enough to bring us back again. Sorry, Taro. SO, we went to the Chinese place to get ramen and gyoza. The cute girl wasn't there!!! I was glad she had a day off (she always seems to be there when we're there), but then she came back a bit after we arrived. Yay! I mean boo! I mean Yay!! permalinkworkin on my backbone ##21:45 Tuesday 27 November 2012 Today at work I stopped trying to convert my code into a Marionette app; I just don't seem to have enough smerts to do it yet. I'm gonna try again tomorrow, making a Marionette app from scratch. Well, from a semi blank js slate, so hopefully it will go a bit more easily. The code I've got so far uses Backbone to do some pretty sweet ajax compared to writing all the ajax queries in jQuery. The page lets the user create WHERE clauses for a report. Buttons along the top have table names on them. Selecting one (hmmm maybe I should make them a select list, cause there will be several(?) other tables added).. Selecting one tells the page to create a dropdown list of most of the fields in the table. Selecting a field from the dropdown list converts the View to the selected field name, an appropriate operator dropdown, and an empty text field for the user-supplied value. Each of these are the components of my WHERE clause. Each change is saved automagically to disk, so reloading the page reloads all the elements in their same states. I don't yet have a GUI for grouping fields for OR and AND within the WHERE clause, but the backend supports this through something I've called groups. Each same-numbered group are all joined with ORs and then distinct groups are connected with ANDs. Tomorrow's page will allow the selection of fields for the SELECT portion of the query. It's this page that I intend to create as a Marionette app from the start. permalinkprev day next day |