50°F

Aaron Parecki

  • Articles
  • Notes
  • Photos
  • Kevin Lingerfelt http://klingerf.com
    Massive fire just started across the street, 15th and Church. http://t.co/on4zXn9krd
    Sat, Feb 21, 2015 4:33pm -08:00 (liked on Sat, Feb 21, 2015 5:56pm -08:00)
  • Kelsey Hightower https://plus.google.com/106678312289948845134/posts
    systemd — when pronounced aloud can be used to discover all Linux admins in a given broadcast domain. #discoveryprotocols
    Mon, Feb 16, 2015 4:58pm -08:00 (liked on Thu, Feb 19, 2015 10:11pm -08:00) #discoveryprotocols
  • Matthias Pfefferle https://notiz.blog
    freu mich auf die nächste ausgabe vom .@screengui_de magazin :)
    Tue, Feb 17, 2015 5:36pm +01:00 (liked on Thu, Feb 19, 2015 10:06pm -08:00)
  • Kyle Mahan https://kylewm.com
    imageproxy?url=http%3A%2F%2Fpbs.twimg.com%2Fprofile_images%2F462335209015238656%2Fie0cRjdx.jpeg&w=64&h=64&mode=clip&sig=477a198716ae5d977a95e3059c24d53ace1bb64d Johannes Ernst @davewiner @kylewm2 @t My version: 1. keep master copy of all data you create in a way that nobody can prevent you from keep using that data Reposted from twitter.com imageproxy?url=http%3A%2F%2Fpbs.twimg.com%2Fprofile_images%2F462335209015238656%2Fie0cRjdx.jpeg&w=64&h=64&mode=clip&sig=477a198716ae5d977a95e3059c24d53ace1bb64d Johannes Ernst @kylewm2 @davewiner @t 2. Be at liberty to run whatever code you choose against your data. No lock-in between data and code. Reposted from twitter.com imageproxy?url=http%3A%2F%2Fpbs.twimg.com%2Fprofile_images%2F462335209015238656%2Fie0cRjdx.jpeg&w=64&h=64&mode=clip&sig=477a198716ae5d977a95e3059c24d53ace1bb64d Johannes Ernst @kylewm2 @davewiner @t 3. for 1 and 2, don't depend on somebody else's terms of service that might change over time against your will. Reposted from twitter.com
    Sat, Feb 14, 2015 5:01pm -08:00 (liked on Tue, Feb 17, 2015 4:26pm -08:00)
  • Philip Renich http://www.philiprenich.com
    @aaronpk @t That was altogether too polite of a reply for someone who did zero searching before tweeting! 😣
    Thank you, reading up.
    Tue, Feb 17, 2015 3:40pm -08:00 (liked on Tue, Feb 17, 2015 3:40pm -08:00)
  • ŇiShak🎄Feliz Natal https://twitter.com/search?q=From%3ANivea__mc
    Aurora borealis over volcanic lava flow... http://t.co/SeVO3qxIkb
    Mon, Feb 16, 2015 6:16pm -02:00 (liked on Tue, Feb 17, 2015 2:34pm -08:00)
  • Andrey 🦃 Petrov https://shazow.net/
    How to figure out what to build:
    1. Build something, anything.
    2. Get frustrated with the hardest parts, build tools to help.
    3. Discard #1.
    Tue, Feb 17, 2015 4:28pm -05:00 (liked on Tue, Feb 17, 2015 2:14pm -08:00)
  • Meetup Support http://www.meetup.com/help/
    @dissolve333 Interesting idea! I'm not sure if something like that is planned, but we'll let the right people know.
    Tue, Feb 17, 2015 11:42am -05:00 (liked on Tue, Feb 17, 2015 9:22am -08:00)
  • 🌈 http://tantek.com/
    @elfpavlik #IndieWeb focuses on:
    #ownyourdata, own notes > tweets
    #UX #design > protocols
    More: http://indiewebcamp.com/principles (ttk.me t4_h2)
    Mon, Feb 16, 2015 10:16pm -08:00 (liked on Tue, Feb 17, 2015 8:42am -08:00) #IndieWeb #ownyourdata #UX #design
  • tantek http://Tantek.com
    you're either an expert by studying and citing real world examples, or by building one yourself. anything else is armchair sportsfanning.
    Mon, Feb 16, 2015 8:14pm +00:00 (liked on Mon, Feb 16, 2015 12:29pm -08:00)
  • Lillian Karabaic https://www.kickstarter.com/projects/2052814389/get-your-money-together-your-purr-fect-finance-wor
    Might need to put on sun screen for this mimosa rooftop work party. #FebruaryinOregon #what?! http://t.co/AEJWx89gtW
    Sat, Feb 14, 2015 2:26pm -08:00 (liked on Sat, Feb 14, 2015 2:27pm -08:00) #FebruaryinOregon #what
  • əəɔ http://www.00ff00.com/
    @aaronpk @caseorganic You guys I rebooted my hub and now my light bulbs don't work at all. I feel like my house is running Linux circa 1997.
    Sat, Feb 14, 2015 12:09am -08:00 (liked on Sat, Feb 14, 2015 12:58pm -08:00)
  • Taylor Hatmaker https://twitter.com/tayhatmaker
    Why yes, I did make an exhaustive tournament bracket for the Cutest App Icon Ever http://www.dailydot.com/technology/app-icon-championship/ http://t.co/08vBPOLZHT
    Wed, Dec 24, 2014 8:11am -08:00 (liked on Fri, Feb 13, 2015 5:50pm -08:00)
  • Justin Miller http://justinmiller.io
    Ok, this means war, @caseorganic. TRAVELWARS http://t.co/gGnA9NJvjO
    Fri, Feb 13, 2015 1:02pm -08:00 (liked on Fri, Feb 13, 2015 1:03pm -08:00)
  • Build awesome PHP web applications using Known as a framework

    4 min read

    You probably know Known as a simple web tool that lets you publish on your own site and syndicate across the web. It's also a great way to get a PHP web application up and running quickly and easily.

    A quick, non-technical overview

    Known is designed to make it easy to build an application without worrying about how your data is stored in the database, and takes care of a lot of really common tasks like user creation, logging in and logging out, and creating APIs. That way you can spend your time building the things that are unique to your application, knowing that everything else is dealt with.

    One reason that's useful is that sometimes developers need to be able to make a working prototype very quickly in order to test an idea. Known gives you a full framework to play with, which removes the need to worry about infrastructure decisions. Furthermore, its plugins can be used by application developers to add features like Facebook integrations.

    Technical details

    Here are a few of the technical characteristics of Known as a platform that make it useful for developers.

    • The entire codebase is namespaced and object-orientated
    • It has a great MVC framework with flexible templating
    • Data is abstracted: use your choice of database engine
    • Plugins make integrations simple

    Let's go through those in detail:

    100% namespaced, object-orientated back-end, with MVC

    PHP started as a procedural language, and many PHP-based projects have inherited this legacy. Known is fully object-orientated with namespaces, and is PRS-0 compliant.

    It contains object primitives for things like entities (objects you can store), pages (endpoints that can be accessed using a web browser or other application), users and events. You can pick those up without ever having to use Known's front-end, but you can also use its fully-granular templating engine.

    If you want, you can also use Known's page routing engine, which allows you to assign URLs to their controllers using regular expressions. Known pages include support for CSRF prevention, and can be used as an API endpoint out of the box.

    The template types in Known can easily be toggled, so while Known ships with a responsive HTML interface out of the box, you could use Known as an API back-end and talk to it entirely in JSON.

    Data abstraction

    Out of the box, Known supports MySQL and MongoDB database back-ends. To the best of our knowledge, it's the only platform that lets you flip between these interchangeably. That's already cool, but because the database management layer is extensible, it's easy to build support for other platforms. Database engines like Postgres or CouchDB wouldn't be a stretch.

    Dealing with database objects is super-easy, too. For example, to create a new blog post, you'd extend the Entity class:

    namespace MyPlugin;
    
    class BlogPost extends \Idno\Common\Entity {
        // Any custom logic
    }

    Then you can add arbitrary data to the object:

    $post = new \MyPlugin\BlogPost();
    
    $post->title = "This is my post title";
    $post->body = "Some body text";
    $post->mood = "Happy";
    $post->tags = ['tag one','tag two','tag three'];
    $post->arbitrary_metadata = "Arbitrary value";

    To save it, you just need to call the save method:

    $post->save();

    The framework will take care of saving in an appropriate format, regardless of data back-end. Known takes care of the schema, so there's never any need to make your own tables. That also means that you can upgrade the framework without ever having to worry about data migration.

    A great plugin framework

    The same plugins that make it easy to syndicate content to Twitter and Facebook, for example, can also be used as development libraries. There's no need to create your own social media integrations, even if you're building an application with a very different core use case to Known. You can tell the system to programatically load the plugin, and then access its easy-to-use methods to authenticate a user with the network and call its APIs.

    Permissive license

    Known is available under an Apache license. You can always get the complete source code on GitHub.

    And more!

    Known's features also include features like a robust event framework, support for microformat parsing, search, and a web client with full proxy support. There's a lot to play with, and it's growing all the time.

    And of course, you can get a free Known site here.

    Thu, Feb 12, 2015 9:22pm +00:00 (liked on Fri, Feb 13, 2015 12:49pm -08:00)
  • repeat http://peat.org/
    When someone asks what I do, I explain it's like Adventure Time but with computers and investors instead of a boy and a shape shifting dog.
    Fri, Feb 13, 2015 10:58am -08:00 (liked on Fri, Feb 13, 2015 12:04pm -08:00)
  • ian molee https://twitter.com/ianfoo
    @bradfitz @nest That was unlike any other kind of first person gaming I'd previously seen.
    Thu, Feb 12, 2015 11:57pm -08:00 (liked on Fri, Feb 13, 2015 11:29am -08:00)
  • Barry Frost https://barryfrost.com/

    Announcing Micropublish: the tool I use to post on my personal #indieweb site via #micropub

    (I’ve been using it for a couple of weeks now to post everything on here, including this post).

    Fri, Feb 13, 2015 1:26pm +00:00 (liked on Fri, Feb 13, 2015 7:11am -08:00) #indieweb #micropub
  • Tech Meetup http://techmeetup.co.uk
    We're all listening to @rhiaro talking about #indieweb http://t.co/EPhNADdKDi
    Wed, Feb 11, 2015 8:08pm +00:00 (liked on Wed, Feb 11, 2015 12:08pm -08:00) #indieweb
  • Julien Genestoux https://www.ouvre-boite.com/
    @aaronpk @lmorchard you're right. Feed reader is a better term. RSS is just the data format.
    Wed, Feb 11, 2015 8:59am -08:00 (liked on Wed, Feb 11, 2015 8:59am -08:00)
older

Hi, I'm Aaron Parecki, Director of Identity Standards at Okta, and co-founder of IndieWebCamp. I maintain oauth.net, write and consult about OAuth, and participate in the OAuth Working Group at the IETF. I also help people learn about video production and livestreaming. (detailed bio)

I've been tracking my location since 2008 and I wrote 100 songs in 100 days. I've spoken at conferences around the world about owning your data, OAuth, quantified self, and explained why R is a vowel. Read more.

  • Director of Identity Standards at Okta
  • IndieWebCamp Founder
  • OAuth WG Editor
  • OpenID Board Member

  • 🎥 YouTube Tutorials and Reviews
  • 🏠 We're building a triplex!
  • ⭐️ Life Stack
  • ⚙️ Home Automation
  • All
  • Articles
  • Bookmarks
  • Notes
  • Photos
  • Replies
  • Reviews
  • Trips
  • Videos
  • Contact
© 1999-2025 by Aaron Parecki. Powered by p3k. This site supports Webmention.
Except where otherwise noted, text content on this site is licensed under a Creative Commons Attribution 3.0 License.
IndieWebCamp Microformats Webmention W3C HTML5 Creative Commons
WeChat ID
aaronpk_tv