Skip to content

Instantly share code, notes, and snippets.

@lorenzo
Created July 24, 2013 11:48
Show Gist options
  • Save lorenzo/6069859 to your computer and use it in GitHub Desktop.
Save lorenzo/6069859 to your computer and use it in GitHub Desktop.
Workshop topics
  • Modelling and implementing advanced authorization patterns. Use case: an user logged in with facebook and another logged via the API will be handed out different permissions.
  • Effective use of the event systems: Injecting listener callbacks to any model in the system
  • Background processing: Extracting slow pieces of functionality to offline processes
  • Custom datasources: Using elastic search to build a cakephp interface to a search engine
  • Advanced logging: How to extract useful information out of your log messages
  • Hardcore unit testing, converting a badly designed code into something testable using mocks and alternative fixture handling
  • Transforming model results via iterators: How to alter your data or extract info out of it using iterators.
  • Optional: leveraging newrelic and xhprof

My requirements:

  • PHP 5.4
  • CakePHP 2.4
@zeroasterisk
Copy link

This looks fantastic!

We have several of these things internally, but I am very much looking forward to your solutions for these problems. (I expect they are more elegant than ours)

Nick Baker will be in attendance, he wrote a very popular facebook plugin, which might be involved in your auth patterns.

I've been wanting to do the Elastic Search datasource for a while - I saw the slide deck from Mark Story, but have not yet made it happen... can you speak to the NLP / Lucene options? I know Elastic Search is built on top of Lucene - just wondering if you've played with that at all, I need to power an AI/chatbot sometime soon and was thinking this an option w/ a CakePHP admin/interface?

Re logging: we are using logstash for logs these days, and have a very basic logger --> json right now.

Re 'Alternative Fixture Handling': here is our solution :
https://github.com/AudiologyHoldings/Icing/blob/master/Lib/AppTestFixture.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment