Skip to content

Instantly share code, notes, and snippets.

View enpfeff's full-sized avatar

Ian Pfeffer enpfeff

View GitHub Profile
@enpfeff
enpfeff / MongoDBWithJodaExample.java
Created August 26, 2016 17:58 — forked from jyemin/MongoDBWithJodaExample.java
An example showing how to integrate support for Joda DateTime into the MongoDB Java driver.
import com.mongodb.BasicDBObject;
import com.mongodb.DBCollection;
import com.mongodb.DBObject;
import com.mongodb.MongoClient;
import org.bson.BSON;
import org.bson.Transformer;
import org.joda.time.DateTime;
import java.net.UnknownHostException;
import java.util.Date;
@enpfeff
enpfeff / api.md
Last active March 12, 2018 17:01
Halo Api

Execution Of Code

Scope

This document is going to document the elusive nature of executing code from the builder to make it less elusive and easy to do. Also as the thin client continues to grow we need to make a migration towards a new pattern on how we execute code. So going forward this education should be helpful.

Issues

The main issue with the current model is that as we increase the uses of the platform the current code execution framework cannot scale as the platform scales. For example the current interface to the execution framework looks like.

@enpfeff
enpfeff / api.md
Last active March 12, 2018 19:52

Execution Of Code

Scope

This document is going to document the elusive nature of executing code from the builder to make it less elusive and easy to do. Also as the thin client continues to grow we need to make a migration towards a new pattern on how we execute code. So going forward this education should be helpful.

Issues

The main issue with the current model is that as we increase the uses of the platform the current code execution framework cannot scale as the platform scales. For example the current interface to the execution framework looks like.