News Feed
Sections




News Archive
feed this:

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

SitePoint PHP Blog:
Efficient User Timelines in a PHP Application with Neo4j
April 15, 2015 @ 12:41:25

In the latest post to the SitePoint PHP blog Christophe Willensen shows you how to use PHP and the Neo4j graph database to make efficient user timelines in your application. In this case, "timeline" should be thought of as something like a Twitter or Facebook status update feed.

Any social application you encounter nowadays features a timeline, showing statuses of your friends or followers generally in a descending order of time. Implementing such a feature has never been easy with common SQL or NoSQL databases. Complexity of queries, performance impacts increasing with the number of friends/followers and difficulties to evolve your social model are points that graph databases are eliminating. In this tutorial, we're going to extend the demo application used by the two introduction articles about Neo4j and PHP.

He starts off with a look at how to model the timeline in the graph database, showing different methods to create the relationships: one a direct user-to-post and the other via a linked list. He goes through the initial setup of the codebase and the sample dataset to populate the Neo4j database. He then includes code samples showing how to get the latest feed items for a user and displaying the results in a simple template (Twig-based). He also shows how to get the latest posts for the timeline and how to add a new post.

0 comments voice your opinion now!
tutorial neo4j database graph user timeline socialmedia

Link: http://www.sitepoint.com/efficient-user-timelines-php-application-neo4j/

Job Posting:
Blend HRM Inc. Seeks PHP Guru (Toronto, Canada)
August 19, 2009 @ 15:27:17

Company Blend HRM Inc.
Location Toronto, Canada
Title PHP Guru
Summary

PHP GURU - Social Entertainment/Online Media

Description
Want to work with fun people, on a fun product, and make a huge difference? Then you want to work with our client. Our clients is one of the world's top social entertainment and dating sites:

  • Millions of people date through them.
  • Thousands of people find matches every day.
  • They make money and AREN'T advertising supported.

Our client is a fast-paced company that measures releases in days not weeks and rewards individual initiative and gumption.

The Role:
This is key member of the team, and a growth position. We are looking for a web developer with strong front end skills that is passionate about web standards and ready to take on a huge code base.

You will:

  • Develop a world class product and user experience using agile methodologies.
  • Fix bugs and improve the user experience.
  • Experience developing and deploying high availability, high performance web applications.

You need:

  • Strong knowledge of XHTML, CSS, JavaScript (with jQuery or other frameworks).
  • Strong knowledge of LAMP (Linux, Apache, MySQL, PHP).
  • Ability to pickup new environments and languages quickly.
  • Compatibility with a workplace built around small, highly motivated teams.
  • Familiarity with modern web frameworks is a plus.
  • Knowledge of Ruby / Rails, Python / Django is a plus.
  • Good understanding of current web technologies such as AJAX, or Memcached is a plus.

Want to Apply?
Applicants are asked to apply directly by emailing recruiting(at)blend-hrm.com with PHP GURU ROLE in the subject line, or by clicking on the URL below.

http://tbe.taleo.net/NA12/ats/careers/requisition.jsp?org=IPNETWORKXS&cws=1&rid=37

0 comments voice your opinion now!
job toronto canada blendhrm guru socialmedia



Community Events

Don't see your event here?
Let us know!


yii2 php7 example laravel podcast introduction symfony part2 series api framework project language interview community programming opinion list composer application

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework