Adobe interview question

how to connect these...javascript, database.