Thiết kế mạng xã hội với PHP - 1 docx
... 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: 06/07/2014, 18:20
... 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 ... other database-related functions • Send e-mail notications, for example, when a user adds another user as a friend Download from Wow! eBook <www.wowebook.com> Chapter 2 [ 31...
Ngày tải lên: 06/07/2014, 18:20
... 10 2 Members 10 2 Listing users 10 3 Pagination 10 3 Paginated members 11 0 Paginated users by letter 11 3 Searching for users 11 7 Custom relationships 12 1 Relationship types 12 1 Relationships 12 2 Adding ... friends 10 0 Invitation controller 10 1 Automatically inviting friends 10 1 Google Friend Connect 10 1 Windows Live contacts 10 2 Yahoo! 10 2 Gmail contacts 10 2 Auto...
Ngày tải lên: 06/07/2014, 18:20
Thiết kế mạng xã hội với PHP - 3 potx
... patterns, 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 ... <www.wowebook.com> Preface [ 3 ] Chapter 10 , Groups, allows users to create and maintain groups related to specic topics with their own lists of members, who opt in to be part of the...
Ngày tải lên: 06/07/2014, 18:20
Thiết kế mạng xã hội với PHP - 4 ppsx
... 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 ... available, open source content management system. On its own, Drupal can be used to create easy-to-use, easy-to-update websites. By extending this through the thousands of modules that the communit...
Ngày tải lên: 06/07/2014, 18:20
Thiết kế mạng xã hội với PHP - 6 doc
... // Quote value if ( version_compare( phpversion(), "4.3.0" ) == " ; -1 " ) { $value = $this->connections[$this->activeConnection ]- Download from Wow! eBook <www.wowebook.com> Chapter ... $this->connections[$this->activeConnection ]- >query( $queryStr ) ) { trigger_error('Error executing query: ' . $queryStr .' - &ap...
Ngày tải lên: 06/07/2014, 18:20
Thiết kế mạng xã hội với PHP - 7 pptx
... str_replace('<title>', '<title>'. $this->page- >getTitle(), $this->page->getContent() ); $this->page->setContent( $newContent ); } Download from Wow! eBook ... replaceDataTags( $tag, $cacheId ) { $blockOld = $this->page->getBlock( $tag ); $block = ''; $tags = $this->registry->getObject('db' )-& gt;dataFr...
Ngày tải lên: 06/07/2014, 18:20
Thiết kế mạng xã hội với PHP - 8 pps
... template $registry->getObject('template' )-& gt;buildFromTemplates('header.tpl .php& apos;, 'main.tpl .php& apos;, 'footer.tpl .php& apos;); $registry->getObject('template' )-& gt;parseOutput(); print ... /index .php DirectoryIndex index .php <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{RE...
Ngày tải lên: 06/07/2014, 18:20
Thiết kế mạng xã hội với PHP - 9 pps
... deleted=0"; $this->registry->getObject('db' )-& gt;executeQuery( $sql ); if( $this->registry->getObject('db' )-& gt;numRows() == 1 ) { $data = $this->registry->getObject('db' )-& gt;getRows(); ... AND deleted=0"; $this->registry->getObject('db' )-& gt;executeQuery( $sql ); if( $this->registry->get...
Ngày tải lên: 06/07/2014, 18:20
Thiết kế mạng xã hội với PHP - 11 doc
... an e-mail address, it is also rejected: elseif( ! eregi("^[_a-z 0-9 -] +(\.[_a-z 0-9 -] +)*@[a-z 0-9 -] +(\.[a- z 0-9 -] +)*(\.[a-z]{2,3})$", $to) ) { // bad - invalid email $this->lock(); ... 'userbar-guest.tpl .php& apos;); $this->registry->getObject('template' )- >buildFromTemplates('header.tpl .php& apos;, 'log...
Ngày tải lên: 06/07/2014, 18:20