afawcett/declarative-lookup-rollup-summaries — pull request #15 by wes1278 (2014-03-03 05:52:44+00:00)
Title: rollup summary new page v1.0

Hey Andrew,

I whipped together a pretty simple page to help the creation of these lookup rollup summary records. Here are some features:
- [x] Select Parent Object from selectlist (filtered by anything updateable & createable,.)
- [x] select parent aggregate result from select list (filterd by anything accessible, updateable, and numeric/date)
- [x] select child record (filtered by what actually has a lookup to the parent you chose)
- [x] no need to type the relationship field, it's displayed for you when you're choosing the child object.
- [x] select child field to aggregate from select list (filtered by anything accessible, updateable, and numeric/date)

There are a few things that I was hoping you might help be able to help me with.
- [ ] Routing to the trigger deployment method (if that's possible) so that the save event can deploy the trigger if it's not present. Right now, I have the check logic in there, but I couldn't make sense of how this trigger creation was happening in the time I had. Check the "save" method in the page controller.
- [ ] See if there is anything you see that would "fit" into your enterprise pattern any better than I've done. I'd love to get some feedback.

Although the page is usable right now, here is a quick list of the things I'm hoping to accomplish still with this page. Let me know if you have any feedback about my ideas.
- [ ] Decide if this page should also override the edit page or if there should be a different page.
- [ ] Maybe use jquery.autocomplete or something similar instead of select lists. (js remoting)
- [ ] maybe use a "step/wizard" like approach instead of shoving it all on 1 entry page. (I have a quick mini visualforce framework for these simple wizards)
- [ ] Create a wrapper class for criteria.
- [ ] create a parsing method to turn a where clause into a list of wrapper class objects.
- [ ] create a creation method to turn a list of wrapper class objects into a where clause (maybe soql builder)?
- [ ] use some javascript/jquery to add/remove/edit wrapper objects representing criteria.
- [ ] add an input for filter logic ie 1 AND (2 or 3)

On an unrelated note, do you happen to have a repo setup to demonstrate the basis for your apex enterprise pattern? I've attended your sessions at Dreamforce and tried to rip this repo apart but I think I've biten off a little more than I can chew. I was hoping you might have a repo that had your base classes, and like a single simple example class.

On another unrelated note (sorry for so many questions), I was wondering if you use MavensMate for development? If you do, would you mind telling me how you deal with keeping your mavensmate workspace/folder working with git. I spent at least twice as much trying to get git and mavensmate to work together compared to how much time I spent on the page. In your repo's you have the src folder inside another folder. I couldn't get mavensmate to actually let me use that sub folder so I had to move things around and try to convince git to do what I wanted. (considering I'm still pretty new to git, that was also a challenge. :)

Thanks!
![dlrs](https://f.cloud.github.com/assets/596315/2306785/a3a04bac-a296-11e3-9252-7ae265fc5716.png)