 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Matt Frost: Agent of Change Part 2 Presentation
by Chris Cornutt February 05, 2013 @ 09:20:35
Following up on his previous post about being an "agent of change" in your organization (work, open source project, etc) Matt Frost has posted his second part of the series focusing on the presentation of your ideas.
In Part 2 we're going to talk about presentation of the pitch you put together for this change. It's important that your pitch be well researched and in some regards provable, as the Agent of Change the responsibility lies with you to prove the value of your idea. As we touched on in Part 1, a well thought out plan is going to go a long way in breaking down the barriers that make change difficult to take hold.
He makes a strong point that you need to identify the problem you're trying to solve (and what solution you're wanting to propose) clearly before trying to present it to a listening audience. He recommends quantifying your solution in terms everyone can understand like "hours of work" or cost. He recommends coming up with a short "elevator pitch" version to entice and the longer version to fill in the gaps.
You've got slides, documentation, statistics and loads of other good information that is going to benefit your development process, sales people in particular are looking for that jewel that helps set your organization apart; you've got that jewel!
voice your opinion now!
agent change series practices development presentation
NetTuts.com: How to Write Code That Embraces Change
by Chris Cornutt February 04, 2013 @ 13:18:58
On NetTuts.com today there's a great new article about how to write code that embraces change and can be easily updated and reconfigured due to a decoupled nature and use of good OOP concepts.
Writing code, which is easy to change is the Holy Grail of programming. Welcome to programming nirvana! But things are much more difficult in reality: source code is difficult to understand, dependencies point in countless directions, coupling is annoying, and you soon feel the heat of programming hell. In this tutorial, we will discuss a few principles, techniques and ideas that will help you write code that is easy to change.
He covers some of the good OOP principles to think about when developing - like cohesion, orthogonality and coupling (via class methods, polymorphism, dependency injection or interfaces). He spends some time looking at the SOLID development principles and how you can implement each of them in some sample code. He also talks some about high level design and how the separation of concerns can help make your code easier to maintain and change.
voice your opinion now!
tutorial code change oop decouple dependency solid principles
Matt Frost: Agent of Change Part 1 Preparation
by Chris Cornutt January 08, 2013 @ 09:57:35
Matt Frost has posted the first part of a series he's writing up about being an "Agent of Change" in your development organization with recommendations on how you can make changes for the better happen. In this first article, he looks at working up "the pitch" for new technology and practices.
We all to make changes that make our jobs easier, so if your change isn't meeting a need or helping to ease a pain point, it's probably not the right change. [...] Find something that makes your job harder or less enjoyable, there's a pretty good chance that you aren't the only one.
He recommends doing plenty of research before making your recommendations, especially if it's a "we should be doing, but don't know how to" kind of improvement. He uses test-driven development in his examples, with part of his pitch being that it reduces the number of bugs that make it into production.
When plans are well thought-out and researched, the element of risk that others perceive tends to dwindle. [...] It's not about pointing out the faults of others in the organization or assigning blame, it's about learning and making positive changes from the lessons you've learned.
voice your opinion now!
agent change preparation series practices development
Community News: CakePHP 2.0 Released (with some Major Changes)
by Chris Cornutt October 21, 2011 @ 11:03:05
The Bakery (a CakePHP site) has announced the release of CakePHP 2.0, a major shift in the framework with some very large changes to bring it up to the level of other full-stack frameworks currently offered for PHP.
The CakePHP core team is very exited to announce a major jump in the version numbering. CakePHP 2.0 stable is out! we have put endless hours into this release and great ideas have made it into the the framework for this version. [...] The overall CakePHP ecosystem has also been improved. [...] A huge thanks to all involved in terms of both contributions through commits, tickets, documentation edits, and otherwise contribute to the framework. Without you there would be no CakePHP.
Some huge changes have happened in this release including:
- Dropping PHP4 support
- Use of more native PHP functions
- PSR-0 compliance
- Object injection for libraries/components/helpers/etc
- Console tools completely rebuilt
- A move to PHPUnit tests (away from SimpleUnit)
- HTML support in form helpers
- Lazy-loading on just about everything making the overall experience faster
- Several new plugins like: DebugKit, Datasources, MongoDb, Migrations and AclExtras
They've created a few resources to help you get started with this new version including a new version of the book, a screencast and a migration guide.
voice your opinion now!
cakephp v2 release major change
rooJSolutions Blog: Watch-out PHP 5.3.7+ is about.. and the is_a() / __autoload() mess.
by Chris Cornutt September 02, 2011 @ 10:43:24
New from the rooJSolutions blog there's a post pointing out an issue that PHP 5.3.7 has broken the is_a functionality in a lot of cases. The post talks some about what's broken and how you can work around it if you're effected.
The key issue was that 5.3.7 accidentally broke is_a() for a reasonably large number of users. Unfortunately the fixup release 5.3.8 did not address this 'mistake', and after a rather fruitless exchange I gave up trying to persuade the group (most people on mailing list), that reverting the change was rather critical (at least pierre supported reverting it in the 5.3.* series).
This new issue was causing some strange errors to pop up in his code because of a parameter type change in the is_a call, updating the first parameter to be an object instead of a class name. The is_a() call sends its requests to __autoload in some cases and the string->object mismatch of those parameters causes errors to be thrown. His workaround is, in your checking, just be sure to call an is_object first before passing things off to be is_a() checked and autoloaded.
voice your opinion now!
bug isa autoload parameter change string object
Sameer Borate's Blog: Checking your site for malicious changes
by Chris Cornutt August 09, 2011 @ 10:04:25
Sameer Borate, in the wake of having security issues with his site, has posted a hint you could use to help detect when something has changed in important files in your application by checking their hash.
Today a couple of hours back my site got compromised. Not much changes to the code, but the .htacces was changed and some code [...] was added to the .htaccess file, which redirected the traffic coming from search engines to a malware site. It has now been removed and to prevent any such changes to the .htaccess file in the future, I've written a small php script that compares the hash (SHA1) of the two major files that usually get compromised and compare them to the one originally stored.
It's not a preventative measure by any means, but it can help you keep track of if something's changed. Several issues have popped up in the major blogging engines that allow for changes to be made directly to files. These changes result in the sha hash to be different and can be used to trigger a security alert. His sample code shows a basic call to mail an alert, but it could be as complex as you'd like (possibly even logging to a database or the like).
voice your opinion now!
malicious change sha1 hash sha1file check alert security
Johannes Schluter's Blog: Changes in PHP trunk No more extension for sqlite version 2
by Chris Cornutt November 22, 2010 @ 13:49:05
Johannes Schluter has a quick new post to his blog today talking about parts of the sqllite extension that will be dropped from the core - the current sqlite_* methods and the pdo_sqlite driver.
The issue there is that this depends on the SQLite 2 library which isn't supported by upstream anymore for a few years. It was a logical step therefore to remove this extension from PHP trunk. The support for the sqlite3 extension and the PDO_sqlite driver (same link as above, read it carefully), which use version 3 of the library, are continued.
The change probably won't be happening in any of the PHP 5.3.x releases but should becoming in PHP 5.4 so, as he advises, you might need to rebuild your database file and change your application to correct things for the changes.
voice your opinion now!
change trunk sqlite remove pdosqlite extension sqlite3
Vid Luther's Blog: Changing MySQL storage engine for one table in your Propel/Symfony project
by Chris Cornutt September 29, 2009 @ 08:26:15
Vid Luther has a new post to his blog showing how to switch the storage engine only one (or any number of individual tables) in your MySQL-backed Propel/Symfony project.
I need one MyISAM table in my schema, I'm using Symfony 1.2 and Propel 1.3. As flexible as Symfony and it's YAML files are, Propel currently doesn't allow you to change the storage engine on the fly. [...] So, the next best thing to do now is to have it so that when Symfony runs propel:insert-sql, I can piggyback my own SQL to it. Luckily, this is possible, and it's explained here.
He gives an example of how he's doing it - making a simple alter table script, putting it into a SQL file and pushing it out into the project's setup via a "propel:insert:sql" command.
voice your opinion now!
symfony storage engine mysql change tip
Derick Rethans' Blog: Variable tracing with Xdebug
by Chris Cornutt March 25, 2009 @ 11:16:52
Derick Rethans has made a quick post about an update he's made to the XDebug function traces to add in information on variable modifications.
After I had a quick look at the feasibility of this feature I spend some time on implementing it for Xdebug's HEAD branch that is going to become Xdebug 2.1. Variable modification tracing can be enabled by setting the php.ini xdebug.collect_assignments setting to 1. Of course this can also be done in either .htaccess or by using ini_set(). This setting requires general execution tracing to be enabled as well and it's only available for human readable trace files (the default format).
He gives examples of how two example scripts would be logged to the trace file - one inside of a basic function and another showing updates to the properties on a class.
voice your opinion now!
variable trace update change xdebug trace file output
|
Community Events
Don't see your event here? Let us know!
|