- [DDD][]
- [IDDD][]
<?php | |
class SampleEntity | |
{ | |
private $friend = 'SampleEntityPresenter'; | |
protected $firstName; | |
protected $lastName; | |
public function __construct($firstName, $lastName) |
.DS_Store | |
.idea/ |
Please do not read any of this with an "absolute" tone. These are merely my thoughts on a problem based in my current understanding and some experience. To be honest, I would not be surprised if this is already being done by individuals more experienced than I at building REST APIs, but I think it is worth discussing as I have yet to find anything like this blogged about. I present this with utmost humility in order to foster discussion; not to create devolving argument.
I believe that usage of media types in examples on the web demonstrating "how to build" RESTful APIs is too narrowly focused. In my experience, much of the discussion around them seems to be solely focused on their usage either in content-negotiation or applying versioning to an API.
*As an aside, versioning can be "controversial" itself as an "anti-pattern" of REST. I heard it argued that HATEOAS should be the answer to the problem that versioning works to solve. This is an aside and not the focus of this ponderanc
Replace this line with imperative summary | |
An awesome description describing WHY over HOW/WHAT | |
# [Ticket #12] | |
#-----------------------------------------------@----------------------# | |
# | |
# 1. Summary should be under 50 characters. @-symbol above is a marker | |
# for that. |
<?php | |
namespace Vendor\Services; | |
use Closure; | |
class Cache | |
{ | |
protected $prefix; |
var items = [ | |
'/home/user/code/folder/whatever/something/nothing/neat.js', | |
'/home/user/code/folder/whatever/something/nothing/great.js', | |
'/home/user/code/folder/whatever/something/nothing/stuff.html', | |
'/home/user/code/folder/whatever/something/nothing/elmo.css', | |
'/home/user/code/folder/whatever/something/nothing/animal.css', | |
'/usr/local/lib/blah', | |
'/foo/bar/baz/goo/blue' | |
]; |
public class Assets implements Disposable, AssetErrorListener { | |
private static final String TAG = "Assets"; | |
private Logger logger; | |
private AssetManager manager; | |
private ObjectMap<String, Array<Asset>> groups; | |
public Assets(String assetFile) { | |
logger = new Logger(TAG, Logger.INFO); | |
This gist is meant to collect awesome resources for modern game development mainly so that I don't forget where all this information is located. If you find any of these useful, PLEASE cite these authors in whatever creations you come up with. I'm sure they would appreciate it.
Camera