archive-info.com » INFO » A » ALBERTON.INFO

Total: 92

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • Lorenzo Alberton - Talks - NoSQL Databases: What, When and Why
    better than a Relational Database and how to choose one over another This talk will give an overview of the NoSQL landscape and a classification for the different architectural categories clarifying the base concepts and the terminology and will provide a comparison of the features the strengths and the drawbacks of the most popular projects CouchDB MongoDB Riak Redis Membase Neo4j Cassandra HBase Hypertable NoSQL Databases Why what and when

    Original URL path: http://www.alberton.info/talks/show/id/13 (2016-04-24)
    Open archived version from archive


  • Lorenzo Alberton - Talks - Modern Algorithms and Data Structures - 1. Bloom Filters, Merkle Trees
    18 April 2011 The first part of a series of talks about modern algorithms and data structures used by nosql databases like HBase and Cassandra An explanation of Bloom Filters and several derivates and Merkle Trees Podcast Modern Algorithms and Data Structures 1 Bloom Filters Merkle Trees View more presentations from Lorenzo Alberton Back Lorenzo Alberton Lorenzo has been working with large enterprise UK companies for the past years and

    Original URL path: http://www.alberton.info/talks/show/id/11 (2016-04-24)
    Open archived version from archive

  • Lorenzo Alberton - Talks - NoSQL Databases: What, When and Why
    better than a Relational Database and how to choose one over another This talk will give an overview of the NoSQL landscape and a classification for the different architectural categories clarifying the base concepts and the terminology and will provide a comparison of the features the strengths and the drawbacks of the most popular projects CouchDB MongoDB Riak Redis Membase Neo4j Cassandra HBase Hypertable NoSQL Databases Why what and when

    Original URL path: http://www.alberton.info/talks/show/id/7 (2016-04-24)
    Open archived version from archive

  • Lorenzo Alberton - Talks - Graphs in the database: RDBMS in the social networks age
    adding new powerful weapons to its arsenal In this talk we ll explore Common Table Expressions SQL 99 and how SQL handles recursion breaking the bi dimensional barriers and paving the way to more complex data structures like trees and graphs and how we can replicate features from social networks and recommendation systems We ll also have a look at window functions SQL 2003 and the advanced reporting features they

    Original URL path: http://www.alberton.info/talks/show/id/6 (2016-04-24)
    Open archived version from archive

  • Lorenzo Alberton - Talks - Profile your PHP application and make it fly
    hope and then wonder why performances haven t improved that much Wait I even replaced print with echo In this talk we ll see how we can take easy practical steps we can apply over and over that really make a difference by analysing what our application does under the hood measuring how and where the different resources are used eliminating the real bottlenecks and restructuring critical components to handle

    Original URL path: http://www.alberton.info/talks/show/id/4 (2016-04-24)
    Open archived version from archive

  • Lorenzo Alberton - Articles - PEAR::Pager Tutorials - Navigation with Pager and AJAX (or simple Javascript)
    n for var count 1 count n pages count document getElementById page count style display none document getElementById page n style display block script style type text css div page background FFFF99 border top 1px solid FFBF99 border bottom 1px solid FFBF99 style head body h1 PEAR Pager example with JavaScript h1 php echo links pages hr php for i 1 i n pages i echo div class page id page i echo h2 Page i h2 foreach pager getPageData i as item echo Item item br echo div hr script type text javascript revealDiv 1 script body html As you could see the trick was setting the path parameter to an empty string and the fileName parameter to a javascript link with the usual s placeholder for the pageID Example 2 We want AJAX We want Ok now that you ve seen the basics you should have all the elements to go further But if you re lazy and want to see it anyway here s an example on how to do the same thing we ve seen before this time using some AJAX calls to fetch only the data for the currently displayed page In this example I m using the PEAR HTML AJAX library docs In case you can t wait to see a preview this is the working example but let s see how it s done 1 The html file we include the dynamic js file server php to handle the AJAX requests and call HTML AJAX replace target testdata php which will replace the contents of the target div with the output of the testdata php script using an AJAX call html body h1 PEAR Pager example with AJAX h1 script type text javascript src server php client all script div id target I m the target div script type text javascript HTML AJAX replace target testdata php script body html 2 The testdata php file it s a simple php script where you fetch the data you want to paginate in this example 100 integers and pass it to Pager The output of this script will replace the contents of the target div in the first html file We also print the current datetime to prove the data is fresh and built at the time of each call i e every time you click on a navigation link php require once Pager php data range 1 100 an array of data to paginate pager params array mode Sliding append false don t append the GET parameters to the url path fileName javascript HTML AJAX replace target testdata php pageID d Pager replaces d with the page number perPage 10 show 10 items per page delta 1 itemData data pager Pager factory pager params n pages pager numPages links pager getLinks echo p This container is loaded with an AJAX call p echo p span class datetime DateTime date Y m d H i s span p echo h3 Page pager getCurrentPageId h3 foreach

    Original URL path: http://www.alberton.info/pear_pager_tutorial_javascript_navigation.html (2016-04-24)
    Open archived version from archive

  • Lorenzo Alberton - Articles - Secure PHP installation on unix/linux systems
    stored on the server in encrypted format is passed from the client to the server in plain text across the network Quoting the Apache manual Basic authentication should not be considered secure for any particularly rigorous definition of secure II Install mod security ModSecurity is an open source intrusion detection and prevention engine for web applications Operating as an Apache Web server module the purpose of ModSecurity is to increase web application security protecting web applications from known and unknown attacks wget http www modsecurity org download modsecurity apache 1 9 4 tar gz tar xzf modsecurity apache 1 9 4 tar gz cd modsecurity apache 1 9 4 apache2 sudo usr local apache2 bin apxs cia mod security c Now point your browser to the official documentation and to the ModSecurity Rules page where you can also find many links to external articles that explain how to configure mod security This one is particularly interesting I won t repeat here what is already well explained there Also have a look at Noel Jackson s mod security rule generator III Install PHP HardenedPHP patch The Hardening Patch is a patchset that adds security hardening features to PHP to protect your servers on the one hand against a number of well known problems in PHP applications and on the other hand against potential unknown vulnerabilities within those applications or the PHP core itself You could download the PHP tarball from php net and then apply the Hardened PHP patch but since the nice guys at hardened php net offer a tarball with the patch already integrated we thank them for they save us a few steps wget http www hardened php net files hardening patch 5 1 4 0 4 11 tar bz2 tar xjvf hardening patch 5 1 4 0 4 11 tar bz2 cd hardening patch 5 1 4 0 4 11 Now you can configure PHP with the options you need Have a look at available ones with configure help Here s a sample configure with Apache2 and Firebird SQL which we suppose is installed in usr firebird support configure with apxs2 usr local apache2 bin apxs with interbase usr firebird make sudo make install cp php ini dist usr local lib php ini Now configure your php ini to suit your needs remember to leave register globals Off and edit your Apache httpd conf file adding these lines to enable PHP LoadModule php5 module modules libphp5 so AddType application x httpd php php phtml AddType application x httpd php source phps Then re start apache usr local apache2 bin apachectl start The behavior of Hardened PHP s variable filter can be modified from within php ini There are currently 4 directives that control several aspects of variable filtering The maximum number of variables that can be passed per request default 200 varfilter max request variables 200 The maximum length for a variable name default 64 varfilter max varname length 64 The maximum length for a variable value

    Original URL path: http://www.alberton.info/secure_php_installation.html (2016-04-24)
    Open archived version from archive

  • Lorenzo Alberton - Articles - Book review: "TYPO3 Extension Development" by Dmitry Dulepov
    stands up for it reputation of being an enterprise CMS though its code is anything but elegant hey the project started more than 10 years ago so delving into its internals is not for the faint of the heart This lean book is perfect if you want to start writing extensions without having to study the whole core for months since it highlights the most important classes files and APIs Depending on what you intend to do Dmitry explains what the best type of extension for that goal and scope is and in chapters 6 and 7 perhaps the most interesting part of the book gives practical examples of frontend and backend extension programming Unlike other books where only a few code snippets are shown leaving the beginner reader clueless on how to glue them together here you can see the full extension code explained bit by bit with references and tips on how similar things could be implemented in a different way Also the chosen examples are generic enough to cover different aspects such as caching locale aware content templating The caching bits are especially interesting since there s not much documentation available on the internet a proof of that is that many of the extensions available on TER are turning off caching for the whole page instead of for the extension alone resulting in an avoidable performance hit Another interesting section of the book which isn t easily found on the internet explains how to enable in place editing Considering how complex the Typo3 admin interface might appear to the non techie editor this is certainly something that improves the usability of your web app a lot I also read another Typo3 book in Packt s offering TYPO3 Enterprise Content Management but that book although also very useful

    Original URL path: http://www.alberton.info/review_typo3_extension_development.html (2016-04-24)
    Open archived version from archive



  •