Smart binding framework