user bar first menu

6 posts / 0 new
Last post
jstenner
jstenner's picture
Offline
Last seen: 3 months 5 days ago
Joined: 2011-10-18 11:14
Murphy's Well-Being iPhone app

This topic is linked to my blog post on the development of the MWB iPhone app, .

So, I started looking at how I might mirror the Core Data Object Model in drupal and decided to make some changes. Instead of having Citizen as one of the 4 instiutional categories of the Popycycle, it made sense to create Family, with Citizen as child. This also allows me to let citizens float between categories a bit. My thinking is that some citizens "transcend" family to be paragons of one of the other categories. That way, too, each of the major categories are similar, with similar fields and methods to access the subcontent in Citizen and Movie. 

 Okay, keep going. I need to decide whether I want to use the Drupal Relation module, or some combination of regular Content Types with Field Collections.

 Here's the revised data model:

 Revised Object Model with Family category.

jstenner
jstenner's picture
Offline
Last seen: 3 months 5 days ago
Joined: 2011-10-18 11:14
Dev links

Various links to APIs I'm using, along with notes:

Since iOS7 is due to be released in the Fall, I'm developing on that platform.

I decided to use JSON instead of XML to minimize the amount of data transmission. So, I spent a lot of time doing JSON tutorials and learning about dispatch queues and manual Core Data configuration before discovering the Apache licensed, objective-c framework, RESTKit (which I decided to use):

Some helpful links/tutorials:

The EPA's RESTful API:

; text-decoration: none;" href="http://www.epa.gov/enviro/facts/ef_restful.html#metadata">http://www.epa.gov/enviro/facts/ef_restful.html#metadata

Here's the URI format to get a JSON listing of Cabot/Koppers:

SITE_ID 0400903

SITE_EPA_ID FLD980709356

This gets the site info and the site description

This gets SITE_ID (general info), CER_LOCATION (location) and CER_CMT_SITE (description):

Just location data

Just descriptions

Just site info

Just site info and site location

jstenner
jstenner's picture
Offline
Last seen: 3 months 5 days ago
Joined: 2011-10-18 11:14
better forum
Well, in posting my first real blog entry and trying to edit a forum post, I realized how horribly setup this was. I decided to install Advanced Forum and better configure the inline text editor so images can be utilized. Hopefully, now, this site is more useable!
glue
glue's picture
Offline
Last seen: 2 years 2 months ago
Joined: 2012-03-19 20:40
Co-Lab
The secret to usability upgrade now revealed: get the sysop to use the feature! The Blog and Forum already worked reasonably well. I needed some motivation to start posting for Electracy 101. I'm surprised there isn't some way for the posts to write themselvs?
jstenner
jstenner's picture
Offline
Last seen: 3 months 5 days ago
Joined: 2011-10-18 11:14
I'm working on that now ;-)
I'm working on that now ;-)
jstenner
jstenner's picture
Offline
Last seen: 3 months 5 days ago
Joined: 2011-10-18 11:14
I don't like the way
I don't like the way subsequent replies to the initial thread post limit us to a filtered html input. In other words, no images in replies (without difficulty), etc. Drupal 8 will be released in the Fall, so it's probably not worth fighting it for now, though. Just wait a while and let it fix itself.