Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Matt Trask:
Looking at Ramsey UUID
Aug 24, 2016 @ 14:16:56

Matt Trask has put together a new post spotlighting a handy library that's widely used across the PHP ecosystem for generating UUIDs: ramsey/uuid.

Welcome to the first installment in my 2113918230981 part series, "Better know a Package!". Tonight's package: the famous/infamous Uuid package that that taught us all what Ramsey is in Scottish, Rhumsaa. Created to give PHP a library to generate Universal Unique Identifiers, this library has been a stallwort in the community. Ben Ramsey created it first under the Rhumsaa namesapce before moving it to the Ramsey namespace, saving us all from learning more Scottish then we needed to ever learn.

[...] A UUID, or Universally Unique Identifier, will generate a 128 bite unique key in different series based on the version you asked for. RFC-4122 dictates how Uuids should be generated, and recommends 4 types.

Matt then goes on to describe each of the different UUID types and provides some code examples as illustration:

  • Version 1: Time and MAC addressed based Uuid
  • Version 2: DCE-based
  • Version 3: UUIDs based on a namespace and then it is MD5 hashed
  • Version 4: Random generation (based on the output of random_bytes

He also includes examples of the UUIDs output by each method (not much difference there as the structure of the resulting UUID is all the same).

tagged: uuid ramsey library introduction types namespace random mac time tutorial

Link: http://matthewtrask.net/blog/Looking-At-Ramsey-Uuid/

Ben Ramsey:
Introducing Ramsey/UUID
Apr 25, 2016 @ 15:52:14

In a new post to his site Ben Ramsey finally gets around to posting about a library of his that's not only already widely used but has already been around for a few years - his ramsey/uuid library for generating UUIDs.

It seems quite absurd for me to introduce ramsey/uuid, a library that saw its 1.0.0 release on July 19, 2012, and is now at version 3.4.1, having had 35 releases since its first, but what’s even more ludicrous is that I haven’t once blogged about this library. I mention it only in passing in my “Dates Are Hard” post. So, allow me to introduce you to perhaps a familiar face, an old friend, the ramsey/uuid library for PHP.

He starts with some of the original beginnings of the language back when Composer usage was just first taking off. He'd found other UUID implementations in PHP but none that rivaled the features found in library for other languages. He then briefly explains what a UUID is and what the RFC defines them as. He talks about the name change on the package (from the "Rhumsaa" namespace to "Ramsey") and an issue he received where UUIDs were colliding...as well as how he corrected it. He wraps up the post looking at some of what's coming for the library and what kind of improvements he'll be making in v3.4.1 and beyond.

tagged: ramsey uuid library introduction version opensource project rhumsaa improvement

Link: https://benramsey.com/blog/2016/04/ramsey-uuid/

Job Posting:
Cambridge Technology Enterprises Seeks PHP Web Applications Developer (Ramsey, NJ)
Jul 21, 2009 @ 20:55:45

Company Cambridge Technology Enterprises
Location Ramsey, NJ
Title PHP Web Applications Developer
Summary

This is a permanent opportunity with the client and the client does not pay for relocation.

Salary is competitve based on experience with benefits.

PHP Web Applications Developer

  • Demonstrable expertise in developing PHP5-based database-driven applications.
  • Ability to hand-code HTML, JavaScript, and CSS.
  • Willingness to work with heterogeneous systems, including IBM System i (iSeries / i5 / AS/400) server and DB2 .
  • Willingness to work at our offices in Ramsey, NJ (relocation not budgeted).

    The following attributes are plusses:

    • Proficiency with MVC frameworks, especially Zend Framework.
    • Proficiency with Dojo (JavaScript library) and AJAX.
    • OO Skills (Object-oriented development).
    • Degree in Computer Science or Information technology.
    • Good interpersonal skills to collaborate with team members, clients and users.
    • Ability to configure AMP (Apache, MySql, and PHP).
    • Exposure to the IBM System i (iSeries / AS/400) server and DB2.
    • Experience with PHP-based content management systems (Joomla, Drupal, etc.).
    • The ability to work on several projects simultaneously.

    Please respond with below stated details in order to expedite the process of submission of your candidature to our client.

    Updated Resume
    Current location
    Availability status
    Contact number

    Contact Nathan Subramanian for more information or to submit your information: nsubramanian@ctepl.com

  • tagged: cambridgetechnology job developer applications nj ramsey

    Link:


    Trending Topics: