PHP 5.3 includes major new features like namespaces, improved performance, and new functions. Namespaces allow cleaner naming conventions and multiple namespaces per file. Other new features include __DIR__, late static binding, improved OpenSSL and date functions, and SPL data structure classes. Overall, PHP 5.3 focuses on evolutionary improvements to existing functionality.
The document provides tips for optimizing PHP code, including using string functions instead of regular expressions where possible, passing references to reduce memory usage, using persistent database connections, and checking mysql_unbuffered_query() for faster queries. It also discusses HTTP requests and responses, cookie expiry, references in PHP, returning references from functions, and the debug_backtrace() function. The document concludes with tips for improving security such as checking for uninitialized variables, validating user input, and restricting access to included files.
PHP classes in mumbai, Introduction to PHP/MYSQL..
best PHP/MYSQL classes in mumbai with job assistance.
our features are:
expert guidance by IT industry professionals
lowest fees of 5000
practical exposure to handle projects
well equiped lab
after course resume writing guidance
For more Visit: http://vibranttechnologies.co.in/php-classes-in-mumbai.html or http://phptraining.vibranttechnologies.co.in
Memcached provides methods to get statistics on individual servers or aggregated across all servers, flush all data, reset connection stats, and get the list of servers.
This ppt provide information about:
1. Database basics,
2. Indexes,
3. PHP MyAdmin Connect & Pconnect,
4. MySQL Create,
5. MySQL Insert,
6. MySQL Select,
7. MySQL Update,
8. MySQL Delete,
9. MySQL Truncate,
10. MySQL Drop
PHP 5.3 introduced many new features and improvements including:
- Performance improvements with up to 40% faster speeds on Windows and 5-15% overall.
- New error reporting levels, garbage collection, and the MySQLnd native driver.
- Backwards compatibility changes like deprecated EREG functions and magic methods requirements.
- Namespaces, late static bindings, closures/lambdas, the __callStatic magic method, and get_called_class().
- Additions to the SPL like new iterators, the date/time object, and new constants like __DIR__ and __NAMESPACE__.
PECL Picks - Extensions to make your life betterZendCon
This document provides information about various PHP extensions available through PECL (PHP Extension Community Library). It introduces the author and their background, describes what PECL is and provides a brief history. It then discusses the current status of PECL, future plans, and how individuals can get involved. Finally, it highlights and provides code examples for several popular and useful PECL extensions, including APC, Memcache, Imagick, HTTP, UploadProgress and others.
Facebook uses caching at multiple levels to improve performance and scalability. Caching is implemented globally, with APC, Memcached, and browser caches. Memcached is used to cache user profiles, photos, friends lists, and other frequently accessed data. Caching is optimized through techniques like caching serialization formats, priming APC, and caching parsed user agent strings. Dirty caching ensures cached data is invalidated when the source data changes.
This document provides an overview of PL/Proxy, a database partitioning system implemented as a PostgreSQL procedural language extension. PL/Proxy allows applications to perform database operations like inserts, updates, deletes and queries across multiple PostgreSQL database partitions in a transparent manner. It works by routing operations to the appropriate partition based on the value of a partitioning key. The document discusses PL/Proxy concepts, areas of application, example usage, installation, backend and frontend functions, configuration options and more.
The document provides tips for optimizing PHP code, including using string functions instead of regular expressions where possible, passing references to reduce memory usage, using persistent database connections, and checking mysql_unbuffered_query() for faster queries. It also discusses HTTP requests and responses, cookie expiry, references in PHP, returning references from functions, and the debug_backtrace() function. The document concludes with tips for improving security such as checking for uninitialized variables, validating user input, and restricting access to included files.
PHP classes in mumbai, Introduction to PHP/MYSQL..
best PHP/MYSQL classes in mumbai with job assistance.
our features are:
expert guidance by IT industry professionals
lowest fees of 5000
practical exposure to handle projects
well equiped lab
after course resume writing guidance
For more Visit: http://vibranttechnologies.co.in/php-classes-in-mumbai.html or http://phptraining.vibranttechnologies.co.in
Memcached provides methods to get statistics on individual servers or aggregated across all servers, flush all data, reset connection stats, and get the list of servers.
This ppt provide information about:
1. Database basics,
2. Indexes,
3. PHP MyAdmin Connect & Pconnect,
4. MySQL Create,
5. MySQL Insert,
6. MySQL Select,
7. MySQL Update,
8. MySQL Delete,
9. MySQL Truncate,
10. MySQL Drop
PHP 5.3 introduced many new features and improvements including:
- Performance improvements with up to 40% faster speeds on Windows and 5-15% overall.
- New error reporting levels, garbage collection, and the MySQLnd native driver.
- Backwards compatibility changes like deprecated EREG functions and magic methods requirements.
- Namespaces, late static bindings, closures/lambdas, the __callStatic magic method, and get_called_class().
- Additions to the SPL like new iterators, the date/time object, and new constants like __DIR__ and __NAMESPACE__.
PECL Picks - Extensions to make your life betterZendCon
This document provides information about various PHP extensions available through PECL (PHP Extension Community Library). It introduces the author and their background, describes what PECL is and provides a brief history. It then discusses the current status of PECL, future plans, and how individuals can get involved. Finally, it highlights and provides code examples for several popular and useful PECL extensions, including APC, Memcache, Imagick, HTTP, UploadProgress and others.
Facebook uses caching at multiple levels to improve performance and scalability. Caching is implemented globally, with APC, Memcached, and browser caches. Memcached is used to cache user profiles, photos, friends lists, and other frequently accessed data. Caching is optimized through techniques like caching serialization formats, priming APC, and caching parsed user agent strings. Dirty caching ensures cached data is invalidated when the source data changes.
This document provides an overview of PL/Proxy, a database partitioning system implemented as a PostgreSQL procedural language extension. PL/Proxy allows applications to perform database operations like inserts, updates, deletes and queries across multiple PostgreSQL database partitions in a transparent manner. It works by routing operations to the appropriate partition based on the value of a partitioning key. The document discusses PL/Proxy concepts, areas of application, example usage, installation, backend and frontend functions, configuration options and more.
The document discusses caching and the Memcached caching system. It describes Memcached as an in-memory key-value store that provides fast access to data at low latency compared to accessing data from local disks. It also summarizes the Cache::Memcached::Fast Perl module for interacting with Memcached and proposes developing a simplified Agile API to make caching easier to use and support features like automatic invalidation through versioning.
The document provides various ways to work with Perl modules from the command line and within Perl scripts. Some of the key points discussed include:
1. Using the perl command with various options like -M, -T, -l, and -w to list installed Perl modules from the command line.
2. Using the ExtUtils::Installed module to get a list of installed modules within a Perl script.
3. Using the perldoc command to view documentation for built-in and installed Perl modules.
4. Configuring the CPAN module to install additional Perl modules from the command line.
5. Checking if a specific module is installed and viewing its version number.
The document discusses PHP objects internally. It covers how objects are represented as zvals and stored in an object store. Objects use a unique handle to reference their data in the store. Creating a new object only happens through new or clone, which add it to the store. Objects are not duplicated even if the zval is duplicated. The garbage collector helps free circular references. Object handlers define object behaviors, and can be overridden to customize objects.
This document discusses using PHP for both web and desktop applications. It introduces PHP-GTK, which allows PHP to create graphical desktop applications with a native look and feel across platforms. It provides examples of creating windows, containers, working with signals and the main loop. The document also discusses installing PHP-GTK, some key considerations for desktop applications, and examples of creating widgets like trees and working with models.
The document discusses the Standard PHP Library (SPL) which provides standard interfaces, classes, and functions for common programming problems. It summarizes key SPL components like autoloading classes using spl_autoload_register(), iterators for arrays and directories, and interfaces like ArrayAccess, Iterator, and Countable. The Observer pattern implementation using SplSubject and SplObserver is also covered.
This document provides an introduction to using PHP with MySQL for beginners. It covers establishing a database connection, selecting a database, querying and manipulating data, and retrieving result rows and field metadata. Common PHP functions for MySQL like mysql_connect(), mysql_query(), mysql_fetch_array() and their usage is explained through examples. It also includes SQL scripts for creating a sample database table and inserting records.
This document summarizes the history and evolution of PHP from its origins in 1995 as a CGI scripting language through its current version 5.5 released in 2013. It describes some of the major milestones like the introduction of the Zend Engine in PHP 4 that improved performance and compilation, and the transition to a true object model in PHP 5. It highlights new features in PHP 5.5 like the password hashing API and generators. Performance benchmarks show PHP 5.5 is faster than previous versions with speed improvements up to 20% from PHP 5.3. The document promotes contributing to the open source PHP project and lists some of the key areas and ways people can get involved.
What you need to remember when you upload to CPANcharsbar
Perlのモジュールを公開するときに気をつけておいた方がよい個のこと
This document provides tips for publishing Perl modules to CPAN. It discusses things to be aware of such as distributions being permanently archived on BackPAN even if deleted, CPAN accepting almost anything, and several testing services that can improve modules like PAUSE, CPAN Testers, CPANTS, and more. It also covers best practices for metrics evaluated by these services around availability, integrity, file layout, prerequisites and more. Developers are encouraged to use better tools from the Perl Toolchain Gang to avoid issues.
This document summarizes new features in the ColdFusion language, including syntax enhancements like new operators, implicit struct and array creation, attribute collection passing, multi-threading with cfthread, CFC enhancements like interfaces and serialization, file I/O improvements, cfzip for working with zip files, cfdump changes, secure cfftp, and more. It is presented by Rupesh Kumar on June 27, 2007.
Mysqlnd, an unknown powerful PHP extensionjulien pauli
The document discusses mysqlnd, a PHP extension that replaces libmysql. Mysqlnd provides significant memory savings when processing result sets by avoiding duplicating result data in memory. It also includes detailed statistics collection and an extensible plugin architecture. Mysqlnd is now the default MySQL connector used by PHP.
This document provides an overview of PHP chapter 26 from a textbook. It discusses PHP data types, operators, arrays, string processing, and regular expressions. Key points covered include PHP syntax and scripting delimiters, variable declaration and data types, arithmetic operators and assignment operators, using arrays and iterating through arrays, comparing strings using the strcmp function, and processing form data and connecting to databases with PHP.
This document discusses extending Perl with C libraries using XS. It explains that XS provides an interface between C and Perl by handling data conversion between their different types. The document outlines the components of a basic XS file and how it is compiled. It also discusses typemaps which define how C types are mapped to Perl types to allow values to be passed between the languages. Further details are provided on developing the XS interface and common tools like h2xs and a new converter tool.
Beyond php - it's not (just) about the codeWim Godden
Most PHP developers focus on writing code. But creating Web applications is about much more than just wrting PHP. Take a step outside the PHP cocoon and into the big PHP ecosphere to find out how small code changes can make a world of difference on servers and network. This talk is an eye-opener for developers who spend over 80% of their time coding, debugging and testing.
This document summarizes PL/Java, which allows writing server-side functions in Java for PostgreSQL. It discusses how to define and deploy Java functions, configure PL/Java, handle parameters and return types, use JDBC from functions, and write triggers in Java. While compatible with Oracle's SQL/JRT standard, PL/Java has some limitations around memory usage and performance. It works best on Linux and is a stable option for adding Java code to PostgreSQL databases.
Building Web Services with Zend Framework (PHP Benelux meeting 20100713 Vliss...King Foo
The document discusses using the Zend Framework to build web services. It covers exposing classes as SOAP, XML-RPC, and JSON-RPC web services. It also discusses building RESTful web services using the Zend Framework by implementing actions in a Zend_Rest_Controller and adding a Zend_Rest_Route. Code examples are provided for each approach.
This document discusses using the Eclipse IDE with PHP development. It covers installing Eclipse PDT, configuring views and perspectives, managing PHP projects, using code templates and completion, integrating xDebug for debugging, and several useful plugins like Subclipse for SVN integration. The presentation provides an overview of key PHP development features in Eclipse.
This document discusses PHP Data Objects (PDO) for connecting to and interacting with databases. PDO requires PHP version 5 and uses two main objects - the PDO object represents a database connection, and PDOStatement represents prepared statements and result sets. Methods like prepare(), execute(), fetch(), and fetchAll() allow preparing and executing statements as well as retrieving result sets. Examples demonstrate using PDO for common SQL statements like SELECT, INSERT, UPDATE, and DELETE.
12 may 2015 les politiques de recherche et d’innovation dans les pays de l’...Mohamed Larbi BEN YOUNES
Les politiques de recherche et d’innovation dans les pays de l’OCDE
Mme Sandrine KERGROACH, Direction de la Science, de la Technologie et de l’Innovation, Organisation de Coopération et de Développement Economiques (OCDE), France
The document provides a usability evaluation plan for Kijiji Taiwan's website. It outlines concerns regarding ease of use, navigation, information architecture, and specific tasks. The plan describes conducting tests with real users to identify usability issues on the current live site. Data will be collected through observation, video recordings, and questionnaires to evaluate performance on tasks and subjective preferences. Deliverables will include a presentation summarizing key findings, video recordings, and translated audio files. Testing is scheduled to take place between September 25th and October 1st, 2006.
Inergy Automotive Systems provides breakthrough solutions for the automotive world, including a plastic fuel system to meet California's stringent emissions reduction requirements for Partial Zero Emission Vehicles, as well as a particulate filter that uses Selective Catalytic Reduction technology for reliable and efficient NOx reduction.
The document discusses caching and the Memcached caching system. It describes Memcached as an in-memory key-value store that provides fast access to data at low latency compared to accessing data from local disks. It also summarizes the Cache::Memcached::Fast Perl module for interacting with Memcached and proposes developing a simplified Agile API to make caching easier to use and support features like automatic invalidation through versioning.
The document provides various ways to work with Perl modules from the command line and within Perl scripts. Some of the key points discussed include:
1. Using the perl command with various options like -M, -T, -l, and -w to list installed Perl modules from the command line.
2. Using the ExtUtils::Installed module to get a list of installed modules within a Perl script.
3. Using the perldoc command to view documentation for built-in and installed Perl modules.
4. Configuring the CPAN module to install additional Perl modules from the command line.
5. Checking if a specific module is installed and viewing its version number.
The document discusses PHP objects internally. It covers how objects are represented as zvals and stored in an object store. Objects use a unique handle to reference their data in the store. Creating a new object only happens through new or clone, which add it to the store. Objects are not duplicated even if the zval is duplicated. The garbage collector helps free circular references. Object handlers define object behaviors, and can be overridden to customize objects.
This document discusses using PHP for both web and desktop applications. It introduces PHP-GTK, which allows PHP to create graphical desktop applications with a native look and feel across platforms. It provides examples of creating windows, containers, working with signals and the main loop. The document also discusses installing PHP-GTK, some key considerations for desktop applications, and examples of creating widgets like trees and working with models.
The document discusses the Standard PHP Library (SPL) which provides standard interfaces, classes, and functions for common programming problems. It summarizes key SPL components like autoloading classes using spl_autoload_register(), iterators for arrays and directories, and interfaces like ArrayAccess, Iterator, and Countable. The Observer pattern implementation using SplSubject and SplObserver is also covered.
This document provides an introduction to using PHP with MySQL for beginners. It covers establishing a database connection, selecting a database, querying and manipulating data, and retrieving result rows and field metadata. Common PHP functions for MySQL like mysql_connect(), mysql_query(), mysql_fetch_array() and their usage is explained through examples. It also includes SQL scripts for creating a sample database table and inserting records.
This document summarizes the history and evolution of PHP from its origins in 1995 as a CGI scripting language through its current version 5.5 released in 2013. It describes some of the major milestones like the introduction of the Zend Engine in PHP 4 that improved performance and compilation, and the transition to a true object model in PHP 5. It highlights new features in PHP 5.5 like the password hashing API and generators. Performance benchmarks show PHP 5.5 is faster than previous versions with speed improvements up to 20% from PHP 5.3. The document promotes contributing to the open source PHP project and lists some of the key areas and ways people can get involved.
What you need to remember when you upload to CPANcharsbar
Perlのモジュールを公開するときに気をつけておいた方がよい個のこと
This document provides tips for publishing Perl modules to CPAN. It discusses things to be aware of such as distributions being permanently archived on BackPAN even if deleted, CPAN accepting almost anything, and several testing services that can improve modules like PAUSE, CPAN Testers, CPANTS, and more. It also covers best practices for metrics evaluated by these services around availability, integrity, file layout, prerequisites and more. Developers are encouraged to use better tools from the Perl Toolchain Gang to avoid issues.
This document summarizes new features in the ColdFusion language, including syntax enhancements like new operators, implicit struct and array creation, attribute collection passing, multi-threading with cfthread, CFC enhancements like interfaces and serialization, file I/O improvements, cfzip for working with zip files, cfdump changes, secure cfftp, and more. It is presented by Rupesh Kumar on June 27, 2007.
Mysqlnd, an unknown powerful PHP extensionjulien pauli
The document discusses mysqlnd, a PHP extension that replaces libmysql. Mysqlnd provides significant memory savings when processing result sets by avoiding duplicating result data in memory. It also includes detailed statistics collection and an extensible plugin architecture. Mysqlnd is now the default MySQL connector used by PHP.
This document provides an overview of PHP chapter 26 from a textbook. It discusses PHP data types, operators, arrays, string processing, and regular expressions. Key points covered include PHP syntax and scripting delimiters, variable declaration and data types, arithmetic operators and assignment operators, using arrays and iterating through arrays, comparing strings using the strcmp function, and processing form data and connecting to databases with PHP.
This document discusses extending Perl with C libraries using XS. It explains that XS provides an interface between C and Perl by handling data conversion between their different types. The document outlines the components of a basic XS file and how it is compiled. It also discusses typemaps which define how C types are mapped to Perl types to allow values to be passed between the languages. Further details are provided on developing the XS interface and common tools like h2xs and a new converter tool.
Beyond php - it's not (just) about the codeWim Godden
Most PHP developers focus on writing code. But creating Web applications is about much more than just wrting PHP. Take a step outside the PHP cocoon and into the big PHP ecosphere to find out how small code changes can make a world of difference on servers and network. This talk is an eye-opener for developers who spend over 80% of their time coding, debugging and testing.
This document summarizes PL/Java, which allows writing server-side functions in Java for PostgreSQL. It discusses how to define and deploy Java functions, configure PL/Java, handle parameters and return types, use JDBC from functions, and write triggers in Java. While compatible with Oracle's SQL/JRT standard, PL/Java has some limitations around memory usage and performance. It works best on Linux and is a stable option for adding Java code to PostgreSQL databases.
Building Web Services with Zend Framework (PHP Benelux meeting 20100713 Vliss...King Foo
The document discusses using the Zend Framework to build web services. It covers exposing classes as SOAP, XML-RPC, and JSON-RPC web services. It also discusses building RESTful web services using the Zend Framework by implementing actions in a Zend_Rest_Controller and adding a Zend_Rest_Route. Code examples are provided for each approach.
This document discusses using the Eclipse IDE with PHP development. It covers installing Eclipse PDT, configuring views and perspectives, managing PHP projects, using code templates and completion, integrating xDebug for debugging, and several useful plugins like Subclipse for SVN integration. The presentation provides an overview of key PHP development features in Eclipse.
This document discusses PHP Data Objects (PDO) for connecting to and interacting with databases. PDO requires PHP version 5 and uses two main objects - the PDO object represents a database connection, and PDOStatement represents prepared statements and result sets. Methods like prepare(), execute(), fetch(), and fetchAll() allow preparing and executing statements as well as retrieving result sets. Examples demonstrate using PDO for common SQL statements like SELECT, INSERT, UPDATE, and DELETE.
12 may 2015 les politiques de recherche et d’innovation dans les pays de l’...Mohamed Larbi BEN YOUNES
Les politiques de recherche et d’innovation dans les pays de l’OCDE
Mme Sandrine KERGROACH, Direction de la Science, de la Technologie et de l’Innovation, Organisation de Coopération et de Développement Economiques (OCDE), France
The document provides a usability evaluation plan for Kijiji Taiwan's website. It outlines concerns regarding ease of use, navigation, information architecture, and specific tasks. The plan describes conducting tests with real users to identify usability issues on the current live site. Data will be collected through observation, video recordings, and questionnaires to evaluate performance on tasks and subjective preferences. Deliverables will include a presentation summarizing key findings, video recordings, and translated audio files. Testing is scheduled to take place between September 25th and October 1st, 2006.
Inergy Automotive Systems provides breakthrough solutions for the automotive world, including a plastic fuel system to meet California's stringent emissions reduction requirements for Partial Zero Emission Vehicles, as well as a particulate filter that uses Selective Catalytic Reduction technology for reliable and efficient NOx reduction.
Hack the Hood: Transforming Youth & Local Small Business through Project-Base...Hack the Hood
Hack the Hood is a nonprofit program that teaches tech and web development skills to youth of color ages 16-21 through a 6-week bootcamp program. Students build websites for local small businesses while learning skills from tech mentors. The program aims to empower youth and increase inclusion and employment in tech fields. Students learn hard skills like HTML, CSS, and web design as well as soft skills like project management, public speaking, and networking. They gain real-world work experience building multiple websites and learn about tech careers through visits to companies and mentors. The program uses an agile development process called Scrum to structure group work and promote leadership, accountability, and collaboration among students.
Manga Madness!!! Graphic Fiction For Teenslibspryte
1) The document discusses graphic fiction and provides summaries and recommendations for various graphic novels, manga series, and comic books. It highlights both new and classic titles as well as websites relevant to graphic fiction.
2) Some of the graphic novels and manga series recommended include Pride of Baghdad, Mouse Guard 1152, XXXholic, Death Note, Scott Pilgrim, Runaways, Bleach, Fables, Claymore, and Naruto.
3) The document also discusses some classic titles such as The Uncanny X-Men, Sandman, works featuring Batman, Superman and Wonder Woman, works by CLAMP and Rumiko Takahashi, and works by Alan Moore including Watchmen,
Inergy Automotive Systems provides breakthrough solutions for the automotive world, including a plastic fuel system to meet California's stringent emissions reduction requirements for Partial Zero Emission Vehicles, as well as a particulate filter that uses Selective Catalytic Reduction technology for reliable and efficient NOx reduction.
The document is an advertisement for HP Pavilion Entertainment Notebook PCs. It highlights key features such as the 14.1-inch widescreen display, NVIDIA graphics for gaming and multimedia, integrated webcam, media playback buttons, and Altec Lansing speakers. Accessories that enhance the experience such as batteries, AC adapters, and expansion bases are also listed.
Angel Kunchev was a leader of organized revolutionary activity against Ottoman occupation in Bulgaria. At school, students learn various subjects like art, math, language, and develop their talents. After school there are extracurricular activities like ballet and acting classes where students can explore their talents, with an upcoming school theater performance. The TV program "Success" features many activities for learning new things and developing talents, allowing students to choose subjects that interest them.
Re&agri 2014 growing power exploring energy needs in smallholder agricultur...Mohamed Larbi BEN YOUNES
1. The document summarizes a presentation given by Sarah Best on exploring energy needs in smallholder agriculture. It discusses the current state of renewable energy projects for smallholders, common energy needs across agricultural value chains, and key barriers faced in pilot projects.
2. Common energy needs for smallholders include power for land preparation, irrigation, processing and storage. However, energy solutions must be tailored to local contexts and crops. Understanding needs across the entire agricultural value chain and rural community is important.
3. Many past pilot projects faced challenges becoming sustainable at scale due to issues like weak demand assessment, a lack of complementary services, and insufficient capacity building. Holistic, community-focused approaches that consider the political and economic contexts
The document discusses the multi-step process for electroplating chromium onto molds including pre-treating the surface, preparing conforming anodes, using a large rectifier and plating tank to achieve a uniform deposit without peeling at a hardness of 65 Rockwell, and quality testing to guarantee the plating can withstand 40,000 strokes without peeling.
This document introduces several individuals and provides information about their hobbies and favorite foods. It then discusses the nutritional components of food including proteins, carbohydrates, lipids, vitamins, water and minerals. It also briefly describes several popular Italian foods - pizza, gelato, tiramisu, mortadella, mozzarella, and parmigiano reggiano - and highlights their origins and key characteristics.
The document provides a summary of key HTML elements and concepts in 3 sentences or less:
HTML and XHTML are the foundation of web development. This document summarizes important HTML elements like headings, paragraphs, lists, links, images and tables, as well as concepts like validation, templates, and specialized markup. It also introduces useful open source tools for web development.
11 may 2015 the evolution of the public research organisations and traditio...Mohamed Larbi BEN YOUNES
This document summarizes the evolution of public research organizations and industrial technical centers in Spain over the past 30 years. It describes how these organizations have transformed from traditional models to more hybrid forms through mergers, diversification of missions, and increased competition for public and private funding. While these organizations have reduced in size, they still play an important role in knowledge creation and diffusion. The organizations now have more flexible employment, governance structures that include private stakeholders, and funding that is less dependent on direct public transfers. However, challenges remain around interactions between organizations, achieving critical mass and visibility, and further specialization.
02 - Le Rôle des Grappes dans la Stratégie de Spécialisation IntelligenteMohamed Larbi BEN YOUNES
Le Rôle des Grappes dans la Stratégie de Spécialisation Intelligente / The Role of Clusters in Smart Specialization Strategy
Ms. Sana MRIZAK, Télécom École de management, Évry, France
Séminaire sur la Stratégie de Spécialisation Intelligente / S3 organisé par l'ANPR avec le support de l'UE les 17 et 18 mai 2016 à Hammamet.
Lazarovden is a school tradition in Nova Zagora, Bulgaria where girls known as Lazarki sing and dance in the town to celebrate the holiday. Every year, girls and their teachers safeguard the old Bulgarian custom of the Lazarki performing special ritual songs for different people like the lass, lad, girl, and child. Being a Lazarka is popular among the girls because they receive white eggs for Easter. Lazarovden, or St. Lazar's Day, is always held on the Saturday before Easter with the following day known as Cvetnica.
SharePoint 2010 - The Business Collaboration PlatformMarwan Tarek
This document outlines an organization's network architecture including external connections to customers, employees, and partners via the internet, intranet, and extranet. It also lists various software applications and services the organization uses like ERP, CRM, SharePoint, cloud services and Office as well as connections to external databases. Visualizations of data are provided through deep refinement, sorting, thumbnails, similar results and previews.
The document discusses building testable PHP applications. It covers topics like testing code, testable architecture, dependency injection, and static code analysis tools like PHP Code Sniffer, PHP Mess Detector, and PHP Copy Paster Detector. The document emphasizes that writing tests and designing for testability leads to fewer bugs and more maintainable code. It provides examples of unit testing and recommends test-driven development practices.
This document summarizes new features in PHP 5.3, 5.4, and 5.5. It discusses features like namespaces, closures, late static bindings, traits, short array syntax, and more. The document is intended to introduce PHP updates and help software engineers stay up to date on PHP features.
Given at zendcon 2008 - my very first conference talk. And I did it way too fast. A lot of the information about these extensions is surprisingly relevant.
Can't Miss Features of PHP 5.3 and 5.4Jeff Carouth
If you're like me you remember the days of PHP3 and PHP4; you remember when PHP5 was released, and how it was touted to change to your life. It's still changing and there are some features of PHP 5.3 and new ones coming with PHP 5.4 that will improve your code readability and reusability. Let's look at some touted features such as closures, namespaces, and traits, as well as some features being discussed for future releases.
4069180 Caching Performance Lessons From Facebookguoqing75
This document discusses techniques for improving caching performance at Facebook. It begins by explaining the benefits of caching for large sites and applications. It then describes the various caching layers Facebook uses, including globals caching, APC caching, memcached, and browser caching. It provides examples of how Facebook leverages these caches, such as caching parsed user agent strings, opcode caching with APC, and caching profile data in memcached. It also discusses challenges like cache invalidation between data centers and techniques for addressing them like caching proxies.
Service discovery and configuration provisioningSource Ministry
Slides from our talk "Service discovery and configuration provisioning" presented by Mariusz Gil at PHP Benelux 2016
Apache Zookeeper or Consul are almost completely unknown in the PHP world, although its use solves a lot of typical problems. In a nutshell, they are a central services of provisioning configuration information, distributed synchronization and coordination of servers/processes. It simplifies the processes of application configuration management, so it is possible to change its settings and operation in real time (eg. feature flagging). During the presentation the typical cases of use of Zookeeper/Consul in PHP applications will be presented, both strictly web and workers running from the CLI.
PHP / MySQL applications are compatible to all operating systems, support all the popular databases, 100% remotely configurable, perfect for web programming & provide higher performance and speed.
PHP is an HTML-embedded scripting language. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown in. The goal of the language is to allow web developers to write dynamically generated pages quickly.
MySQL is a Relational Database Management System (RDBMS) that uses Structured Query Language (SQL).
PHP is the most popular scripting language for web development. It is free, open source and server-side (the code is executed on the server).
PHP third party tool and plug-in integration such as chat, forum, blog and search engine
This document summarizes some new features in PHP 5.4:
- Array syntax can now be written more concisely using square brackets instead of array functions.
- PHP 5.4 includes a built-in web server for development purposes, allowing PHP scripts to be run without Apache.
- Traits allow sharing of methods across classes to reduce code duplication, similar to mixins in Ruby.
- Closures now support accessing properties of the enclosing class scope via $this.
Preparing for the next PHP version (5.6)Damien Seguy
With versions stretching from 5.3 to 5.6, PHP has several major published versions, that require special attention when migrating. Beyond checking for compilation, the code must be reviewed to avoid pitfalls like obsoletes functions, new features, change in default parameters or behavior. We'll set up a checklist of such traps, and ways to find them in the code and be reading for PHP 5.6.
This document discusses Wade Arnold's experience with PHP and Zend Framework. It provides an overview of Wade's background working on Zend Amf and other PHP projects. It also includes examples of file structures, models, and services that demonstrate how to build a PHP application that integrates with Flash using Zend Amf. The document advocates for using standards like Zend Framework to build robust PHP applications and services.
Built-in query caching for all PHP MySQL extensions/APIsUlf Wendel
Query caching boosts the performance of PHP MySQL applications. Caching can be done on the database server or at the web clients. A new mysqlnd plugin adds query caching to all PHP MySQL extension: written in C, immediately usable with any PHP application because of no API changes, supports Memcache, APC, SQLite and main memory storage, integrates itself smoothless into existing PHP deployment infrastructure, helps you to scale by client, ... Enjoy!
The document discusses API design in PHP, focusing on Ning's PHP API. Some key points:
- Ning's PHP API provides a REST interface to its social networking platform and has been in use since 2005.
- The API is used for content storage, user profile management, tagging, search, and other functions.
- Good API design principles include making things predictable, modular, stable, and prioritizing human performance over computer performance.
- API design should be use case driven and additions should be easy while removals are hard. Names, versioning, and documentation are important.
With PHP5.3.3 recently released I really feel it is time that php developers are taking namespaces seriously. If you don’t I guarantee you will be out of a job within five years. Namespaces are a fundamental part of the future of PHP. The talk explains the usage on importing third party libraries, using it in your own code and aliasing. The full works.
This document discusses techniques for improving the performance of Django projects handling high traffic volumes. It identifies common areas of concern like database performance, web server configuration, caching, and template rendering. It provides examples of optimizing ORM queries, implementing object caching with invalidation plans, profiling code to identify bottlenecks, and leveraging tools like Varnish, memcached, and database query profiling. The key lessons are to develop a caching strategy, use profiling to optimize problem areas, and consider alternative web server software or configurations to improve performance.
This document discusses techniques for improving the performance of Django projects handling high traffic volumes. It identifies common areas of concern like database usage, web server configuration, caching, and template rendering. It provides examples of optimizing database queries, implementing caching strategies, profiling code to identify bottlenecks, and leveraging tools like memcached, Varnish, and multiple web servers. The key lessons are to carefully design caching and database access, use profiling to find problematic areas rather than prematurely optimizing, and leverage server configuration expertise.
Innovative Specifications for Better Performance Logging and MonitoringCary Millsap
Imagine a car with no speedometer. There are speed limit signs and policemen all around with radar guns waiting to catch you speeding, but you have no way of knowing how fast you're going. Of course, a car like this has no openable hood (no bonnet), so to change the air filter, you have to hire a specialist to saw into the body of your car. A car like this would be preposterous. Yet people write software like this all the time.
The Oracle Database has some of the best performance logging features built into it of any software in the world. You can use it with any application—even applications that were built without logging and monitoring in mind. But you can go SO much further if you bother to include some performance logging features in your application. In this session, I explain Oracle's extended SQL tracing feature and describe how to enable and disable it. Then I show some innovative ideas that will help you design and build database applications that are easier to monitor, manage, and maintain throughout the software development life cycle.
Remedie: Building a desktop app with HTTP::Engine, SQLite and jQueryTatsuhiko Miyagawa
Building a desktop app using HTTP::Engine as a micro web server, SQLite for data storage, and jQuery for the user interface. Comet and asynchronous workers are used to enable real-time features. JSON-RPC and routing are implemented to support AJAX actions. The combination provides a lightweight "desktop app" architecture that is cross-platform.
10 Things Every Plugin Developer Should Know (WordCamp Atlanta 2013)arcware
The document outlines 10 things that every WordPress plugin developer should know, including enabling debugging, prefixing functions, enqueuing scripts and styles properly, only including JS/CSS on admin pages, using AJAX in the admin, adding extensibility hooks, supporting multisite, internationalization, security, and using helpful functions and constants. It provides examples and explanations for each topic to help plugin developers write more effective and secure code.
This document discusses securing PHP applications. It covers best practices for securing input data, preventing vulnerabilities like SQL injection and cross-site scripting (XSS), and properly validating all user input. It also provides recommendations for secure file permissions, error handling, and hiding sensitive configuration details.
Monitoring and Managing Anomaly Detection on OpenShift.pdfTosin Akinosho
Monitoring and Managing Anomaly Detection on OpenShift
Overview
Dive into the world of anomaly detection on edge devices with our comprehensive hands-on tutorial. This SlideShare presentation will guide you through the entire process, from data collection and model training to edge deployment and real-time monitoring. Perfect for those looking to implement robust anomaly detection systems on resource-constrained IoT/edge devices.
Key Topics Covered
1. Introduction to Anomaly Detection
- Understand the fundamentals of anomaly detection and its importance in identifying unusual behavior or failures in systems.
2. Understanding Edge (IoT)
- Learn about edge computing and IoT, and how they enable real-time data processing and decision-making at the source.
3. What is ArgoCD?
- Discover ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes, and its role in deploying applications on edge devices.
4. Deployment Using ArgoCD for Edge Devices
- Step-by-step guide on deploying anomaly detection models on edge devices using ArgoCD.
5. Introduction to Apache Kafka and S3
- Explore Apache Kafka for real-time data streaming and Amazon S3 for scalable storage solutions.
6. Viewing Kafka Messages in the Data Lake
- Learn how to view and analyze Kafka messages stored in a data lake for better insights.
7. What is Prometheus?
- Get to know Prometheus, an open-source monitoring and alerting toolkit, and its application in monitoring edge devices.
8. Monitoring Application Metrics with Prometheus
- Detailed instructions on setting up Prometheus to monitor the performance and health of your anomaly detection system.
9. What is Camel K?
- Introduction to Camel K, a lightweight integration framework built on Apache Camel, designed for Kubernetes.
10. Configuring Camel K Integrations for Data Pipelines
- Learn how to configure Camel K for seamless data pipeline integrations in your anomaly detection workflow.
11. What is a Jupyter Notebook?
- Overview of Jupyter Notebooks, an open-source web application for creating and sharing documents with live code, equations, visualizations, and narrative text.
12. Jupyter Notebooks with Code Examples
- Hands-on examples and code snippets in Jupyter Notebooks to help you implement and test anomaly detection models.
In the realm of cybersecurity, offensive security practices act as a critical shield. By simulating real-world attacks in a controlled environment, these techniques expose vulnerabilities before malicious actors can exploit them. This proactive approach allows manufacturers to identify and fix weaknesses, significantly enhancing system security.
This presentation delves into the development of a system designed to mimic Galileo's Open Service signal using software-defined radio (SDR) technology. We'll begin with a foundational overview of both Global Navigation Satellite Systems (GNSS) and the intricacies of digital signal processing.
The presentation culminates in a live demonstration. We'll showcase the manipulation of Galileo's Open Service pilot signal, simulating an attack on various software and hardware systems. This practical demonstration serves to highlight the potential consequences of unaddressed vulnerabilities, emphasizing the importance of offensive security practices in safeguarding critical infrastructure.
Best 20 SEO Techniques To Improve Website Visibility In SERPPixlogix Infotech
Boost your website's visibility with proven SEO techniques! Our latest blog dives into essential strategies to enhance your online presence, increase traffic, and rank higher on search engines. From keyword optimization to quality content creation, learn how to make your site stand out in the crowded digital landscape. Discover actionable tips and expert insights to elevate your SEO game.
5th LF Energy Power Grid Model Meet-up SlidesDanBrown980551
5th Power Grid Model Meet-up
It is with great pleasure that we extend to you an invitation to the 5th Power Grid Model Meet-up, scheduled for 6th June 2024. This event will adopt a hybrid format, allowing participants to join us either through an online Mircosoft Teams session or in person at TU/e located at Den Dolech 2, Eindhoven, Netherlands. The meet-up will be hosted by Eindhoven University of Technology (TU/e), a research university specializing in engineering science & technology.
Power Grid Model
The global energy transition is placing new and unprecedented demands on Distribution System Operators (DSOs). Alongside upgrades to grid capacity, processes such as digitization, capacity optimization, and congestion management are becoming vital for delivering reliable services.
Power Grid Model is an open source project from Linux Foundation Energy and provides a calculation engine that is increasingly essential for DSOs. It offers a standards-based foundation enabling real-time power systems analysis, simulations of electrical power grids, and sophisticated what-if analysis. In addition, it enables in-depth studies and analysis of the electrical power grid’s behavior and performance. This comprehensive model incorporates essential factors such as power generation capacity, electrical losses, voltage levels, power flows, and system stability.
Power Grid Model is currently being applied in a wide variety of use cases, including grid planning, expansion, reliability, and congestion studies. It can also help in analyzing the impact of renewable energy integration, assessing the effects of disturbances or faults, and developing strategies for grid control and optimization.
What to expect
For the upcoming meetup we are organizing, we have an exciting lineup of activities planned:
-Insightful presentations covering two practical applications of the Power Grid Model.
-An update on the latest advancements in Power Grid -Model technology during the first and second quarters of 2024.
-An interactive brainstorming session to discuss and propose new feature requests.
-An opportunity to connect with fellow Power Grid Model enthusiasts and users.
Digital Marketing Trends in 2024 | Guide for Staying AheadWask
https://www.wask.co/ebooks/digital-marketing-trends-in-2024
Feeling lost in the digital marketing whirlwind of 2024? Technology is changing, consumer habits are evolving, and staying ahead of the curve feels like a never-ending pursuit. This e-book is your compass. Dive into actionable insights to handle the complexities of modern marketing. From hyper-personalization to the power of user-generated content, learn how to build long-term relationships with your audience and unlock the secrets to success in the ever-shifting digital landscape.
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...alexjohnson7307
Predictive maintenance is a proactive approach that anticipates equipment failures before they happen. At the forefront of this innovative strategy is Artificial Intelligence (AI), which brings unprecedented precision and efficiency. AI in predictive maintenance is transforming industries by reducing downtime, minimizing costs, and enhancing productivity.
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUpanagenda
Webinar Recording: https://www.panagenda.com/webinars/hcl-notes-und-domino-lizenzkostenreduzierung-in-der-welt-von-dlau/
DLAU und die Lizenzen nach dem CCB- und CCX-Modell sind für viele in der HCL-Community seit letztem Jahr ein heißes Thema. Als Notes- oder Domino-Kunde haben Sie vielleicht mit unerwartet hohen Benutzerzahlen und Lizenzgebühren zu kämpfen. Sie fragen sich vielleicht, wie diese neue Art der Lizenzierung funktioniert und welchen Nutzen sie Ihnen bringt. Vor allem wollen Sie sicherlich Ihr Budget einhalten und Kosten sparen, wo immer möglich. Das verstehen wir und wir möchten Ihnen dabei helfen!
Wir erklären Ihnen, wie Sie häufige Konfigurationsprobleme lösen können, die dazu führen können, dass mehr Benutzer gezählt werden als nötig, und wie Sie überflüssige oder ungenutzte Konten identifizieren und entfernen können, um Geld zu sparen. Es gibt auch einige Ansätze, die zu unnötigen Ausgaben führen können, z. B. wenn ein Personendokument anstelle eines Mail-Ins für geteilte Mailboxen verwendet wird. Wir zeigen Ihnen solche Fälle und deren Lösungen. Und natürlich erklären wir Ihnen das neue Lizenzmodell.
Nehmen Sie an diesem Webinar teil, bei dem HCL-Ambassador Marc Thomas und Gastredner Franz Walder Ihnen diese neue Welt näherbringen. Es vermittelt Ihnen die Tools und das Know-how, um den Überblick zu bewahren. Sie werden in der Lage sein, Ihre Kosten durch eine optimierte Domino-Konfiguration zu reduzieren und auch in Zukunft gering zu halten.
Diese Themen werden behandelt
- Reduzierung der Lizenzkosten durch Auffinden und Beheben von Fehlkonfigurationen und überflüssigen Konten
- Wie funktionieren CCB- und CCX-Lizenzen wirklich?
- Verstehen des DLAU-Tools und wie man es am besten nutzt
- Tipps für häufige Problembereiche, wie z. B. Team-Postfächer, Funktions-/Testbenutzer usw.
- Praxisbeispiele und Best Practices zum sofortigen Umsetzen
Taking AI to the Next Level in Manufacturing.pdfssuserfac0301
Read Taking AI to the Next Level in Manufacturing to gain insights on AI adoption in the manufacturing industry, such as:
1. How quickly AI is being implemented in manufacturing.
2. Which barriers stand in the way of AI adoption.
3. How data quality and governance form the backbone of AI.
4. Organizational processes and structures that may inhibit effective AI adoption.
6. Ideas and approaches to help build your organization's AI strategy.
Generating privacy-protected synthetic data using Secludy and MilvusZilliz
During this demo, the founders of Secludy will demonstrate how their system utilizes Milvus to store and manipulate embeddings for generating privacy-protected synthetic data. Their approach not only maintains the confidentiality of the original data but also enhances the utility and scalability of LLMs under privacy constraints. Attendees, including machine learning engineers, data scientists, and data managers, will witness first-hand how Secludy's integration with Milvus empowers organizations to harness the power of LLMs securely and efficiently.
Dandelion Hashtable: beyond billion requests per second on a commodity serverAntonios Katsarakis
This slide deck presents DLHT, a concurrent in-memory hashtable. Despite efforts to optimize hashtables, that go as far as sacrificing core functionality, state-of-the-art designs still incur multiple memory accesses per request and block request processing in three cases. First, most hashtables block while waiting for data to be retrieved from memory. Second, open-addressing designs, which represent the current state-of-the-art, either cannot free index slots on deletes or must block all requests to do so. Third, index resizes block every request until all objects are copied to the new index. Defying folklore wisdom, DLHT forgoes open-addressing and adopts a fully-featured and memory-aware closed-addressing design based on bounded cache-line-chaining. This design offers lock-free index operations and deletes that free slots instantly, (2) completes most requests with a single memory access, (3) utilizes software prefetching to hide memory latencies, and (4) employs a novel non-blocking and parallel resizing. In a commodity server and a memory-resident workload, DLHT surpasses 1.6B requests per second and provides 3.5x (12x) the throughput of the state-of-the-art closed-addressing (open-addressing) resizable hashtable on Gets (Deletes).
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...Tatiana Kojar
Skybuffer AI, built on the robust SAP Business Technology Platform (SAP BTP), is the latest and most advanced version of our AI development, reaffirming our commitment to delivering top-tier AI solutions. Skybuffer AI harnesses all the innovative capabilities of the SAP BTP in the AI domain, from Conversational AI to cutting-edge Generative AI and Retrieval-Augmented Generation (RAG). It also helps SAP customers safeguard their investments into SAP Conversational AI and ensure a seamless, one-click transition to SAP Business AI.
With Skybuffer AI, various AI models can be integrated into a single communication channel such as Microsoft Teams. This integration empowers business users with insights drawn from SAP backend systems, enterprise documents, and the expansive knowledge of Generative AI. And the best part of it is that it is all managed through our intuitive no-code Action Server interface, requiring no extensive coding knowledge and making the advanced AI accessible to more users.
Ivanti’s Patch Tuesday breakdown goes beyond patching your applications and brings you the intelligence and guidance needed to prioritize where to focus your attention first. Catch early analysis on our Ivanti blog, then join industry expert Chris Goettl for the Patch Tuesday Webinar Event. There we’ll do a deep dive into each of the bulletins and give guidance on the risks associated with the newly-identified vulnerabilities.
This presentation provides valuable insights into effective cost-saving techniques on AWS. Learn how to optimize your AWS resources by rightsizing, increasing elasticity, picking the right storage class, and choosing the best pricing model. Additionally, discover essential governance mechanisms to ensure continuous cost efficiency. Whether you are new to AWS or an experienced user, this presentation provides clear and practical tips to help you reduce your cloud costs and get the most out of your budget.
Digital Banking in the Cloud: How Citizens Bank Unlocked Their MainframePrecisely
Inconsistent user experience and siloed data, high costs, and changing customer expectations – Citizens Bank was experiencing these challenges while it was attempting to deliver a superior digital banking experience for its clients. Its core banking applications run on the mainframe and Citizens was using legacy utilities to get the critical mainframe data to feed customer-facing channels, like call centers, web, and mobile. Ultimately, this led to higher operating costs (MIPS), delayed response times, and longer time to market.
Ever-changing customer expectations demand more modern digital experiences, and the bank needed to find a solution that could provide real-time data to its customer channels with low latency and operating costs. Join this session to learn how Citizens is leveraging Precisely to replicate mainframe data to its customer channels and deliver on their “modern digital bank” experiences.
2. EVOLUTIONARY
RELEASE
Old code will still work
Focus on mainly
improvement of
existing functionality
Fewer bugs
Faster release cycle
2
3. Namespaces
Biggest addition in 5.3 code base
Feature complete implementation of namespaces
Majority of functionality implemented at compile time
Simplifies naming conventions
3
4. Cleaner Code
Without Namespaces With Namespaces
function MY_wrapper() {} namespace MY;
class MY_DB { } function wrapper() {}
define('MY_CONN_STR', ''); class DB { }
const CONN_STR = '';
+ =
use MY AS MY;
MY_wrapper();
wrapper();
new MY_DB();
new DB();
MY_CONN_STR;
CONN_STR;
4
5. Multiple Namespaces Per File
namespace LIB;
class MySQL {}
class SQLite {}
$b = new SQLite();
string(18) quot;LIB_EXTRA::MScryptquot;
namespace LIB_EXTRA; string(11) quot;LIB::SQLitequot;
class MScrypt {}
$a = new MScrypt();
var_dump(
get_class($a),
get_class($b)
);
5
8. Other NS Syntactic Sugar
namespace really::long::pointlessly::verbose::ns;
__NAMESPACE__; // current namespace name
class a{}
get_class(new a()); // really::long::pointlessly::verbose::ns::a
use really::long::pointlessly::verbose::ns::a AS b;
Reference class from a
namespace
8
9. Improved Performance
md5() is roughly 10-15% faster
Better stack implementation in the engine
Constants moved to read-only memory
Improve exception handling (simpler & less opcodes)
Eliminate open(2) call on (require/include)_once
Smaller binary size & startup size with gcc4
Overall Improvement 5-15%
9
13. __callStatic()
__call() equivalent, but for static methods.
class helper {
static function __callStatic($name, $args) {
echo $name.'('.implode(',', $args).')';
}
}
helper::test(quot;fooquot;,quot;barquot;); // test(foo,bar)
✴ Dynamic function/method calls are kinda slow...
13
14. Dynamic Static Calls
PHP now allows dynamic calls to static methods
class helper {
static function foo() { echo __METHOD__; }
}
$a = quot;helperquot;;
$b = quot;fooquot;;
$a::$b(); // helper::foo
✴ Dynamic function/method calls are kinda slow...
14
15. Late Static Binding
Processing of static events has been extended into
execution time from compile time.
class A { class A {
public static function whoami() { public static function whoami() {
echo __CLASS__; echo __CLASS__;
} }
public static function identity() { public static function identity() {
self::whoami(); static::whoami();
} }
} }
class B extends A { class B extends A {
public static function whoami() { public static function whoami() {
echo __CLASS__; echo __CLASS__;
} }
} }
B::identity(); // A <-- PHP < 5.3 B::identity(); // B <-- >= PHP 5.3
✴ Beware if you use an opcode cache
✴ Not backwards compatible
15
16. MySQLInd
Specialized, high speed library to interface with
MySQL designed specifically for PHP
mysql_fetch_assoc(quot;...quot;);
ext/mysql ext/mysql
Copy of data in PHP
Copy on Write in
mysqlind Copy in libmysql
Row Data Row Data Row Data Row Data Row Data Row Data
MySQL Database
16
17. MySQLInd
Better performance
Improved memory usage
Ability to fetch statistics for performance tuning
Built-in driver (no external decencies once again)
Many future options due to tight integration with PHP
No PDO_MySQL support yet, mysql(i) only for now
17
18. INI Magic
Support for “.htaccess” style INI controls for CGI/
FastCGI
Per-directory INI settings inside php.ini via
[PATH=/var/www/domain.com] not modifiable by the
user.
Improve error handling
Allow use of INI variables and constants from virtually
everywhere in the INI files
Several other minor improvements
18
19. INI Magic
Name for user-defined php.ini (.htaccess) files. Default is quot;.user.iniquot;
user_ini.filename = quot;.user.iniquot;
To disable this feature set this option to empty value
user_ini.filename =
TTL for user-defined php.ini files (time-to-live) in seconds.
Default is 300 seconds (5 minutes)
user_ini.cache_ttl = 300
[PATH=/var/www/domain.com]
variables_order = GPC
safe_mode = 1
[my variables]
somevar = “1234”
anothervar = ${somevar} ; anothervar == somevar
[ini arrays]
foo[bar] = 1
foo[123] = 2
foo[] = 3
19
20. Extra OpenSSL Functions
Access to OpenSSL Digest Functions
foreach (openssl_get_md_methods() as $d) {// MD4, MD5, SHA512... (12 all in all)
echo $d.quot; - quot;.openssl_digest(quot;fooquot;, quot;md5quot;); //acbd18db4cc2f85cedef654fccc4a4d8
}
Access to OpenSSL Cipher Functions
// BF-CBC, AES-256 CFB1... (54 all in all)
foreach(openssl_get_cipher_methods() as $v) {
$val = openssl_encrypt(quot;valuequot;, $v, quot;secretquot;);
openssl_decrypt($val, $v, quot;secretquot;); // value
}
Extend openssl_pkey_new() and openssl_pkey_get_details()
functions to allow access to internal DSA, RSA and DH
keys.
The goal was to simply OpenID implementation in PHP
20
21. SPL Improvements
Improve nested directory iterations via
FilesystemIterator
Introduced GlobIterator
Various data structure classes: SplDoublyLinkedList,
SplStack, SplQueue, SplHeap, SplMinHeap,
SplMaxHeap, SplPriorityQueue
Several other tongue twister features
21
22. Date Extension Additions
Controllable strtotime() via date_create_from_format()
$date = strtotime(quot;08-01-07 00:00:00quot;);
var_dump(date(quot;Y-m-dquot;, $date)); // string(10) quot;2008-01-07quot;
$date = date_create_from_format(quot;m-d-yquot;, quot;08-01-07quot;);
var_dump($date->format('Y-m-d')); // string(10) quot;2007-08-01quot;
Added date_get_last_errors() that returns errors and
warnings in date parsing.
array(4) {
[quot;warning_countquot;] => int(0)
[quot;warningsquot;] => array(0) { }
[quot;error_countquot;] => int(2)
[quot;errorsquot;]=>
array(2) {
[2]=> string(40) quot;The separation symbol could not be foundquot;
[6]=> string(13) quot;Trailing dataquot;
}
}
22
23. getopt() Improvements
Works on Windows
Native implementation not dependent on native
getopt() implementation.
Cross-platform support for longopts (--option)
// input: --a=foo --b --c
var_dump(getopt(quot;quot;, array(quot;a:quot;,quot;b::quot;,quot;cquot;)));
/* output: array(3) {
[quot;aquot;]=>
string(3) quot;fooquot;
[quot;bquot;]=>
bool(false)
[quot;cquot;]=>
bool(false)
} */
23
24. XSLT Profiling
Introduction of Xslt Profiling via setProfiling()
$xslt = new xsltprocessor();
$xslt->importStylesheet($xml);
$xslt->setProfiling(quot;/tmp/profile.txtquot;);
$xslt->transformToXml($dom);
Resulting In:
number match name mode Calls Tot 100us Avg
0 date 5 58 11
Total 5 58
24
25. E_DEPRECATED
What would a PHP release be without a new error
mode? deprecated
Used to designate deprecated functionality that maybe,
sometime in a far future will get removed, maybe.
25
26. Garbage Collector
Memory cleanup for Über-complex and long scripts
that need to free-up memory before the end of
execution cycle. (!amework folks, this is for you)
gc_enable(); // Enable Garbage Collector
var_dump(gc_enabled()); // true
var_dump(gc_collect_cycles()); // # of elements cleaned up
gc_disable(); // Disable Garbage Collector
26
27. NOWDOC
A HEREDOC where no escaping is necessary
HEREDOC NOWDOC
$foo = <<<ONE $bar = <<<‘TWO’
this is $fubar this is $fubar
ONE; TWO;
/* string(10) quot;this isquot; */ /* string(16) quot;this is $fubarquot; */
27
28. Miscellaneous Improvements
SQLite Upgraded to 3.5.6
Over 40 bug fixes
CGI/FastCGI SAPI Improvements
Various stream improvements
More things to come ...
28
29. Thank You For Listening
Questions?
These slides can be found on: http://ilia.ws
29