... networks 10 Facebook 10 LinkedIn 10 MySpace 11 Twitter 11 Existing social networking software 12 Drupal 12 Elgg 12 Joomla! 12 Hybrid approaches 12 Rolling your own 13 Why roll your own? 13 Easier ... information. First published: October 2 010 Production Reference: 11 810 10 Published by Packt Publishing Ltd. 32 Lincoln Road Olton Birmingham, B27 6PA, UK. ISBN 97...
Ngày tải lên: 04/07/2014, 21:20
... new message 22 4 Creating a message template 22 7 In action 22 8 Room for improvement? 22 8 Sent items 22 8 Replies 22 9 Group messages 22 9 Summary 22 9 Chapter 8: Statuses—Other Media 23 1 Why support ... query 25 0 Status views 25 0 Images 25 0 Video 25 0 Links 25 1 In action 25 1 Images 25 1 Videos 25 2 Links 25 2 This material is copyright and is licensed for the sole u...
Ngày tải lên: 04/07/2014, 21:20
Tạo mạng xã hội với PHP - part 3 doc
... including Model-View-Controller, Registry and Factory, the planning and subsequent development of our skeleton MVC-style framework with template, database, and e-mail management. Chapter 3, Users, ... for the sole use by RAYMOND ERAZO on 25th October 2010 31 46 KERNAN LAKE CIRCLE, JACKSONVILLE, 32 246 Download from www.eBookTM.com Preface [ 3 ] Chapter 10, Groups, allows users to creat...
Ngày tải lên: 04/07/2014, 21:20
Tạo mạng xã hội với PHP - part 4 doc
... on this subject: Drupal 6 Social Networking ( http://www.packtpub.com/build-social-networking-website-with- drupal-6/book ). Elgg Elgg (http://elgg.org/) is an open source social networking ... by RAYMOND ERAZO on 25th October 2010 3 146 KERNAN LAKE CIRCLE, JACKSONVILLE, 32 246 Download from www.eBookTM.com PHP Social Networking [ 16 ] Why use PHP? PHP is a popular, open source program...
Ngày tải lên: 04/07/2014, 21:20
Tạo mạng xã hội với PHP - part 5 pot
... appropriate use can help ensure that a system is well-designed, easy to build upon, and easy for others to work with. MVC: Model-View-Controller The Model-View-Controller pattern is an architectural design ... to keep all of these, for one particular design, within a particular sub-folder. We may also utilize JavaScript libraries, as well as specic JavaScript within a particular view, so...
Ngày tải lên: 04/07/2014, 21:20
Tạo mạng xã hội với PHP - part 6 docx
... $this->connections[$this->activeConnection ]- >query( $queryStr ) ) { trigger_error('Error executing query: ' . $queryStr .' - '.$this->connections[$this->activeConnection ]-& gt;error, ... // Quote value if ( version_compare( phpversion(), "4.3.0" ) == " ;-1 " ) { $value = $this->connections[$this->activeConnect...
Ngày tải lên: 04/07/2014, 21:20
Tạo mạng xã hội với PHP - part 7 potx
... str_replace('<title>', '<title>'. $this->page- >getTitle(), $this->page->getContent() ); $this->page->setContent( $newContent ); } This material is copyright ... replaceDataTags( $tag, $cacheId ) { $blockOld = $this->page->getBlock( $tag ); $block = ''; $tags = $this->registry->getObject('db' )-& gt;data...
Ngày tải lên: 04/07/2014, 21:20
Tạo mạng xã hội với PHP - part 9 doc
... deleted=0"; $this->registry->getObject('db' )-& gt;executeQuery( $sql ); if( $this->registry->getObject('db' )-& gt;numRows() == 1 ) { $data = $this->registry->getObject('db' )-& gt;getRows(); ... $this->user->isActive() == false ) { $this->loggedIn = false; $this->loginFailureReason = 'inactive'; } els...
Ngày tải lên: 04/07/2014, 21:20
Tạo mạng xã hội với PHP - part 10 docx
... ! preg_match( "^[_a-z 0-9 -] +(\.[_a-z 0-9 -] +)*@[a-z 0-9 -] +(\.[a- z 0-9 -] +)*(\.[a-z]{2,4})^", $_POST[ 'register_email' ] ) ) { $allClear = false; $this->registrationErrors[] ... number of a particular set of elds. There is some JavaScript available to help with such a situation (http://www.michaelpeacock.co.uk/blog/entry/add-another-item-with-...
Ngày tải lên: 04/07/2014, 21:20
Tạo mạng xã hội với PHP - part 30 doc
... $calendar->getNextMonth( )-& gt;getMonth(); $ny = $calendar->getNextMonth( )-& gt;getYear(); $pm = $calendar->getPreviousMonth( )-& gt;getMonth(); $py = $calendar->getPreviousMonth( )-& gt;getYear(); ... template $this->registry->getObject('template' )-& gt;getPage( )- >addTag('nm', $nm ); $this->registry->getObject('te...
Ngày tải lên: 04/07/2014, 21:21
Tạo mạng xã hội với PHP - part 34 doc
... $this->id; $this->registry->getObject('db' )-& gt;executeQuery( $sql ); if( $this->registry->getObject('db' )-& gt;numRows() == 1 ) { $data = $this->registry->getObject('db' )-& gt;getRows(); ... $this->registry->getObject('db' )-& gt;lastInsertID(); if( $this->includeFirstPost == true ) { $this->post->...
Ngày tải lên: 04/07/2014, 22:20
Tạo mạng xã hội với PHP - part 32 doc
... $this->registry->getObject('authenticate' )- >getUser( )-& gt;getUserId(); $this->registry->getObject('db' )-& gt;executeQuery( $sql ); if( $this->registry->getObject('db' )-& gt;numRows() ... 'models/events .php& apos; ); $events = new Events( $this->registry ); $cache = $events->listEventsFuture( $this->registry...
Ngày tải lên: 04/07/2014, 22:20
Tạo mạng xã hội với PHP - part 37 doc
... "; $cache = $this->registry->getObject('db' )-& gt;cacheQuery( $sql ); $this->registry->getObject('template' )-& gt;getPage( )-& gt;addTag( 'my-groups', array('SQL', ... $pagination->getCache() ) ); $this->registry->getObject('template' )-& gt;getPage( )-& gt;addTag( 'page_number', $paginati...
Ngày tải lên: 04/07/2014, 22:20
Tạo mạng xã hội với PHP - part 39 doc
... $this->registry->getObject('db' )-& gt;executeQuery( $sql ); if( $this->registry->getObject('db' )-& gt;numRows() == 1 ) { $this->valid = true; $data = $this->registry->getObject('db' )-& gt;getRows(); ... 'userbar_loggedin.tpl .php& apos;); $registry->getObject('template' )-& gt;getPage( )-& gt;addTag( &apos...
Ngày tải lên: 04/07/2014, 22:20
Tạo mạng xã hội với PHP - part 43 docx
... YouTube in particular was recently posted on a technology blog called TechCrunch, and can be found at http://www.techcrunch.com/2007/11/22/the-secret- strategies-behind-many-viral-videos/ . Twitter We ... found on the Google blog: http://googlewebmastercentral.blogspot.com/2010/04/using-site-speed- in-web-search-ranking.html . There are a number of tools available to help monitor and impr...
Ngày tải lên: 04/07/2014, 22:20