Submitted by peterm on Tue, 02/19/2013 - 06:02
I've been remiss in not posting much this past several months. I've been keeping notes on various projects in Evernote that need to turn into blog posts and articles. These are along the lines of tips, tricks, and design ideas I've explored for the mobile version of maps and other projects this past couple of years.
Drop me a note if you're looking for something you can't find.
Submitted by peterm on Mon, 02/09/2015 - 10:03
One thing that has been frustrating me in learning the MEAN stack has been how to extend the basic Article example (or a CRUD created module) beyond the basic data model. While you're trying to learn AngularJS and Mongoose/MongoDB interactions, you can find lots of literature on modelling, but little on how to modify your core CRUD views, model and controllers to work together. I'm sure that there may/are better and more elegant ways to accomplish this.
Submitted by peterm on Tue, 01/27/2015 - 20:35
Importing to Mongo via jsonArray
mongoimport -d meanjs-leaflet4-dev -c leaflets -f name,coordinates --type json --file building-addresses.json --jsonArray
// sample file
// notes - coordinates needs to be bracketed to indicate an array otherwise we get string
// created - use a yyyy-mm-dd for basic entry
"name": "Cowell College - Apartment 2",
Submitted by peterm on Fri, 01/23/2015 - 18:29
Over the past week, in between meetings, I've gotten some additional functionality added. I've been able to enter a number of Leaflet nodes (records) and then display markers on the "list" view. I've created a link in the popup that then takes us to the detail record. I've also been taking Dan Whalin's Udemy course. His site has a 50% off coupon code.
Submitted by peterm on Mon, 01/12/2015 - 18:14
I've been looking at how to refactor our campus maps app from being Drupal based to sometihng that is based on a RESTful API so that data can be easily shared with other apps. Drupal has gotten us a long way, but the map stack of modules we're using has some limitations. I need to pull some custom map work stored at Mapbox.com giving us deeper zooms and styling rules we've decided upon.
The MEAN stack offers one refactoring option. So, I spent Christmas vacation doing some reading, configuring and thinking about how the MEAN stack might work for our needs.