Meta tags:
author= Lisachenko Alexander;
description= Go! library adds Aspect-Oriented paradigm to the PHP. Aspect-Oriented Programming (AOP) complements Object-Oriented Programming (OOP) by providing another way of thinking about program structure. In addition to classes, AOP gives you aspects. Aspects enable modularization of concerns such as transaction management that cut across multiple types and objects. (Such concerns are often termed crosscutting concerns.);
keywords= AOP, PHP, Aspect-Oriented Programming, Hooks, Method Interception, Advice, Invocation, Go! AOP;
Headings (most frequently used words):
aspect, oriented, in, php, with, aop, framework, programming, what, is, implementing, logging, go, recent, posts, latest, tweets, github, repos, google, caching, like, pro, new, version, yii, intercepting, execution, of, system, functions, doctrine, annotations, application, level, and, monolog, reusable, fluent, interface, pattern, for, symfonycampua, 2012, presentation,
Text of the page (most frequently used words):
the (34), and (21), php (17), with (16), aop (16), can (13), you (13), aspect (12), are (10), for (10), oriented (9), comments (9), read (9), that (8), this (8), article (8), #logging (7), most (7), execution (6), functions (6), caching (6), all (6), code (6), application (6), framework (6), cache (6), programming (5), new (5), more (5), one (5), there (5), lisachenko (4), some (4), because (4), have (4), source (4), example (4), important (4), techniques (4), probably (4), but (4), implementing (3), annotations (3), intercepting (3), system (3), yii (3), what (3), like (3), used (3), points (3), called (3), way (3), etc (3), into (3), doesn (3), any (3), classes (3), every (3), readability (3), very (3), java (3), good (3), things (3), alexander (2), github (2), status (2), updating (2), doctrine (2), version (2), pro (2), implement (2), functionality (2), join (2), before (2), about (2), approach (2), concerns (2), where (2), designed (2), then (2), use (2), aspects (2), don (2), help (2), methods (2), during (2), oop (2), add (2), support (2), using (2), fluent (2), let (2), sure (2), need (2), log (2), file (2), website (2), error (2), under (2), level (2), show (2), has (2), examples (2), control (2), only (2), not (2), our (2), will (2), working (2), configuration (2), frameworks (2), changes (2), computer (2), science (2), invalidation (2), everywhere (2), optimization (2), copyright, 2014, powered, octopress, google, repos, follow, latest, tweets, recent, posts, blog, archives, symfonycampua, 2012, presentation, traits, terms, particular, set, them, pointcut, behavior, executed, after, around, point, advice, section, introduction, cross, cutting, implemented, modular, appropriate, encapsulation, lack, duplication, integrated, relevant, succinct, robust, through, declarative, programmatic, means, require, pecl, extentions, neither, uses, dark, magic, runkit, nor, evals, library, containers, weaved, fully, readable, native, easily, debugged, xdebug, debug, either, main, advantage, potentially, installed, change, lines, intercept, public, protected, static, display, name, arguments, each, method, its, based, paradigms, allows, developers, software, development, goals, special, tips, improve, improving, interfaces, discuss, reusable, interface, pattern, never, absolutely, why, see, errors, well, kind, person, care, jerks, who, behaved, wrong, get, messages, got, finished, your, brand, completely, driven, looks, nice, everything, works, perfectly, circumstances, monolog, mentioned, sweet, simplest, straightforward, people, think, want, easiest, ever, second, part, previous, haven, yet, please, proceeding, common, tasks, world, lot, articles, detailed, transactional, authorization, stuff, related, objects, first, class, citizens, whereas, tricks, create, proxies, own, interceptors, custom, logic, how, becomes, popular, requires, knowledge, cumbersome, beginners, manuals, possibility, run, locally, favorite, provides, necessary, integration, process, tricky, easy, configure, versions, always, exciting, they, provide, features, contain, fixes, evolves, too, prepared, users, underline, look, phil, karlton, two, hard, naming, known, technique, appears, cpu, disk, buffers, opcode, memcache, sql, since, contained, extract, single, place, keep, hardest, quote, web, applications, become, large, scaled, questions, performance, frequently, considered, initial, design, extensively, contains, pre, processed, data, which, ready, without, redoing, processing, shows, possible, ways, doing, including, documentation, home, rss,
Text of the page (random words):
go aspect oriented framework go aspect oriented framework aspect oriented programming in php rss home documentation caching like a pro comments as web applications become more large scaled the questions of performance optimization are more frequently considered in initial design one of the optimization techniques used extensively is caching cache contains pre processed data which is ready to be used without redoing the processing this article shows the possible ways of doing caching in php including aspect oriented approach caching is probably the most known technique in computer science it appears everywhere cpu disk cache buffers opcode cache memcache sql cache etc since it is contained everywhere we can t extract it into a single place to keep it under our control so cache invalidation is one of the hardest things there is a good quote there are only two hard things in computer science cache invalidation and naming things phil karlton let s have a look at caching in the php read on what is new in version 0 5 0 comments new versions of frameworks are always exciting because they provide more features and can contain important fixes and changes go aop evolves too so i prepared this article for users to underline most important changes read on aspect oriented programming with yii comments aspect oriented programming becomes more popular for php but it requires good knowledge of oop and can be very cumbersome for beginners so it s important to have a working examples and manuals to have a possibility to run it locally with favorite framework go aop provides all the necessary functionality for configuration of aop into any frameworks but integration process can be very tricky so configuration is not so easy in this article we will configure a working example for yii framework read on intercepting execution of system functions in php comments intercepting an execution of methods is one of the most common tasks for aop in the java world there are a lot of articles that has a detailed examples for transactional control logging authorization etc but all aop stuff in java is related only to the classes and objects because functions are not first class citizens in java whereas php has a good support for functions by using some tricks we can create a proxies for system functions and add our own interceptors with custom logic this article will show you how to use aop techniques with functions in php read on implementing logging aspect with doctrine annotations comments logging is probably the most mentioned sweet example of aop probably because it is the simplest and most straightforward example most people can think of so i want to show you the easiest ever way to implement logging in php with annotations this article is the second part of my previous article about application level logging with aop in php and if you haven t read it yet please do this before proceeding to this article read on application level logging with aop and monolog comments so you got finished with your brand new website it is completely php driven and looks very nice but are you sure that everything works perfectly under every circumstances no you can never be absolutely sure that is why you need a log file to see if there where some errors well if you are the kind of person that doesn t care if some jerks who behaved wrong on you website get error messages then you probably don t need an error log file read on implementing reusable fluent interface pattern in php with aop comments during software development one of the most important goals is the readability of source code there are special techniques and tips that help us to improve the readability of source code one of the techniques of improving the source code readability is using of fluent interfaces let s discuss it in this article read on aspect oriented framework for php comments go is a php 5 4 framework based on oop and aop paradigms and designed by lisachenko alexander it allows developers to add support of aop to every php application go doesn t require any pecl extentions it neither uses any dark magic of runkit nor evals the library doesn t use di containers the code with weaved aspects is fully readable and native it can be easily debugged with xdebug you can debug either classes or aspects the main advantage of go is that potentially it can be installed in every php application because you don t have to change the application source code at all as an example with the help of 10 20 lines of code we can intercept all the public protected and static methods in all the classes of application and display the name and the arguments of each method during its execution what is aop aop aspect oriented programming is an approach to cross cutting concerns where the concerns are designed and implemented in a modular way that is with appropriate encapsulation lack of duplication etc then integrated into all the relevant execution points in a succinct and robust way e g through declarative or programmatic means in aop terms the execution points are called join points a particular set of them is called a pointcut and the new behavior that is executed before after or around a join point is called advice you can read more about aop in introduction section php traits can be used to implement some aspect like functionality symfonycampua 2012 presentation comments blog archives recent posts caching like a pro what is new in version 0 5 0 aspect oriented programming with yii intercepting execution of system functions in php implementing logging aspect with doctrine annotations latest tweets status updating follow lisachenko github repos status updating lisachenko on github google copyright 2014 lisachenko alexander powered by octopress
|