Elgg.1.8.Social.Networking.Feb.2012.Pdf
Total Page:16
File Type:pdf, Size:1020Kb
Elgg 1.8 Social Networking Create, customize, and deploy your very own social networking site with Elgg Cash Costello wnload from Wow! eBook <www.wowebook.com> o D BIRMINGHAM - MUMBAI Elgg 1.8 Social Networking Copyright © 2012 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. First published: March 2008 Second edition: February 2012 Production Reference: 2130212 Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK. ISBN 978-1-84951-130-8 www.packtpub.com Cover Image by Jose ([email protected]) Credits Author Technical Editor Cash Costello Llewellyn F. Rozario Author of 1st Edition Project Coordinator Mayank Sharma Vishal Bodwani Reviewers Proofreader Valentin Crettaz Aaron Nash Kevin Jardine Danny Lieberman Indexer Hemangini Bari Marcus Povey Brett Profitt Production Coordinator Liran Tal Arvindkumar Gupta Evan Winslow Cover Work Acquisition Editor Arvindkumar Gupta David Barnes Lead Technical Editor Meeta Rajani Foreword I am delighted that Cash Costello undertook the task of writing this book. Cash typifies the very essence of open source. He contributes on every level to the Elgg project: bug reports, core patches, plugins as well as offering advice and support in the community. Therefore, it is fitting that it is he who authors this edition. As an updated version of the first Elgg book, this is an excellent resource for those interested in Elgg development due to its attention to detail, clearly written style and knowledgeable author. I would like to give a special mention to Brett Profitt, Elgg’s lead developer, and the technical reviewer of this book. Brett has played a key role in the continually improvement of Elgg and over the past 20 months or so his efforts have had a hugely positive impact on the wider Elgg community with more members now participating in Elgg’s development, promotion, and support. Elgg has come a long way from the very first version. Having started as a proof-of- concept, Elgg has grown into a leading social networking engine that is powering a range of socially aware applications. At the time of writing, Elgg had been wnload from Wow! eBook <www.wowebook.com> downloaded around 500,000 times with over 900 plugins contributed; prompting o D more than two million downloads. As the community becomes ever more involved, I feel the future is bright for Elgg. Dave Tosh Elgg Co-Founder About the Author Cash Costello performs research for the Johns Hopkins University Applied Physics Laboratory. In addition to his work there in computer vision and machine learning, he coordinates a team of developers in the creation of collaborative web applications. Cash is also a core developer of the Elgg Social Networking framework. He is active within the Elgg community, whether sharing his plugins or helping others to get the most out of Elgg. Thank you to all the editors from Packt that were involved in shepherding this book from concept to publication. I would also like to thank all the reviewers who contributed so much through their feedback. This book would not have been possible without the original work of Ben, Dave, and Marcus in creating Elgg. The version of Elgg described in this book is the result of a lot effort by Brett and Evan. Great job, guys. Most of all I would like thank my wife for her encouragement and patience during this very long process. She read every page regardless of interest in web development. Merci beaucoup, mon amie. About the Author of 1st edition Mayank Sharma is a contributing editor at SourceForge, Inc's Linux.com. He also writes a monthly column for Packt Publishing. Mayank has contributed several technical articles to the IBM developerWorks where he hosts a Linux Security blog. When not writing, he teaches courses on Open Source topics at the Indian Institute of Technology, Delhi, as guest lecturer. Thanks to my mom Shashi and dad Rakesh for laying down tough standards, and younger brother Shashank who beat me at book- writing to become my mentor. Gratitude to David Barnes for guiding me from start to finish, to Rashmi Phadnis for her edits, to Patricia Weir for managing and scheduling the book, and to the Elgg developers and community for such a wonderful project. About the Reviewers Valentin Crettaz holds a master degree in Information and Computer Sciences from the Swiss Federal Institute of Technology in Lausanne, Switzerland (EPFL). After he finished studying in 2000, Valentin worked as a software engineer with SRI International in the Silicon Valley (Menlo Park, USA) and as a principal engineer in the Software Engineering Laboratory at EPFL. In 2002, as a good patriot, he came back to Switzerland to co-create a start-up called Condris Technologies, a new venture that provides IT development and consulting services and specializes in the creation of innovative next-generation software architecture solutions as well as secure wireless telecommunication infrastructures. From 2004 to 2008, Valentin served as a senior IT consultant in one of the largest private banks in Switzerland, where he worked on next-generation e-banking platforms. Starting in 2008, Valentin joined Goomzee Corporation as Chief Software Guru. Goomzee is a Montana based mobile marketing company that provides solutions for connecting buyers and sellers in any market vertical through mobile interactions. Valentin also owns a small consultancy business called Consulthys, a new venture that strongly focuses on leveraging Web 2.0 technologies in order to reduce the cultural gap between IT and business people. Marcus Povey is a software architect with a wide range of commercial experience, including portable medical systems, point-of-sale hardware, web platform development, and secure messaging. Formerly a Senior Architect at Curverider, Marcus worked with Ben Werdmuller to develop the open source social networking platform Elgg, and was an integral part of its architecture design process from version 1.0 onwards. Marcus left Curverider in 2009 to form his own consultancy company; he also organizes BarCamp Transparency, an annual event to discuss openness and direct democracy in government. Marcus maintains a blog at http://www.marcus-povey.co.uk Brett Profitt has been interested in computers and programming since his youth. Whether it was pecking at keys on a Commodore 64 until a monochrome display echoed his name, leading a middle school computer club, or writing apps on his TI-83 calculator during chemistry class, computers have always been an important part of his life as one of his passions. Brett received two degrees from The Ohio State University: A Bachelor of Instrumental Music Education and a Bachelor of Art in Japanese Language and Culture. Before adopting software development as a career, he held positions as a pre-school teacher, website designer, Kindergarten music teacher, and tutor for Japanese-speaking students in America. Brett strongly believes in and supports open source philosophies. He is proud to be a member of this powerful community and enjoys interacting and co-developing with the larger open source community through Elgg. I would like to thank my family who have provided inspiration and support in all my pursuits, no matter if arts, sciences, or languages. I would also like to thank my friends, who make Friendsgiving the best holiday of the year. Liran Tal is a leading software developer, expert Linux engineer, and an avid supporter of the open source movement. In 2007, he has redefined network RADIUS management by establishing daloRADIUS, a world-recognized and industry-leading open source project. Passionate about creating software and enjoys taking on new ventures, he is mostly focused on building web applications and social networking technologies. He graduated cum laude in his Bachelor of Business and Information Systems Analysis studies and enjoys spending his time playing the guitar, hacking all things Linux, and continuously experimenting and contributing to open source projects. Sincere thanks to Curverider for creating Elgg and making it available and to everyone on the Elgg community who has been there to push it forward. I'd like to thank Tal, my wife, for her love, support and patience; and my mom and dad, for being a source of inspiration in my life. Evan Winslow holds a B.S. in Computer Science from Stanford University. He has been working with Elgg since 2009 and has been a member of the Core Development Team since 2010. As a member of the Core Team, he contributed significantly to the JavaScript and CSS advances in Elgg 1.8. Evan lives in Aliso Viejo, California with his wife Julie and son James, and works his dream job doing front-end web development full-time. You can reach him at [email protected]. www.PacktPub.com Support files, eBooks, discount offers and more You might want to visit www.PacktPub.com for support files and downloads related to your book. Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.