 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Nikita Popov's Blog: The true power of regular expressions
by Chris Cornutt June 15, 2012 @ 08:42:57
Nikita Popov has a new (language agnostic) post to his blog today about one of the most powerful things you can use in your development - something that a lot of developers don't understand the true power of - regular expressions.
As someone who frequents the PHP tag on StackOverflow I pretty often see questions about how to parse some particular aspect of HTML using regular expressions. A common reply to such a question is: "You cannot parse HTML with regular expressions, because HTML isn't regular. Use an XML parser instead." This statement - in the context of the question - is somewhere between very misleading and outright wrong. What I'll try to demonstrate in this article is how powerful modern regular expressions really are.
He starts with the basics, defining the "regular" part of "regular expression" (hint: it has to do with predictability) and the grammar of the expressions. He talks about the Chomsky hierarchy and how it relates to the "regular" as well as a more complex mapping of expression to language rules. He talks about matching context-free and context-sensitive languages and unrestricted grammars as well.
voice your opinion now!
power regular expression define theory context
DeveloperWorld: InfoWorld review Eight PHP power tools
by Chris Cornutt February 04, 2010 @ 09:46:09
InfoWorld/DeveloperWorld has posted a list of eight power tools (IDEs) they suggest to any PHP developer looking for something more than just the standard text editors.
In this article, we examine eight IDEs: ActiveState's Komodo IDE, CodeLobster PHP Edition, Eclipse PHP Development Tools (PDT), MPSoftware's phpDesigner, NetBeans IDE for PHP, NuSphere's PhpED, WaterProof's PHPEdit, and Zend Studio. All of these PHP toolkits offer strong support for the other languages and environments (HTML, CSS, JavaScript, SQL database) that a PHP developer encounters. The key differences we discovered were in the tools they provide (HTML inspector, SQL management system) for various tasks, the quality of their documentation, and general ease-of-use.
There's a summary scorecard on the first page of the article if you want to jump straight to the good stuff, but the pages following that will give you much more information about each of the options - the good and the pad points. According to their overall scores, though, Eclipse PDT and Zend Studio tied it up for the highest rankings.
voice your opinion now!
power tool ide eclipse netbeans nusphere zend review
NETTUTS.com: Add Power to Your PHP With Multi-Tiered Applications
by Chris Cornutt April 15, 2009 @ 07:52:39
The NETTUTS.com site has some advice on how you can add a bit more power and flexibility to your PHP applications - shift them over to a multi-tier application structure.
As PHP applications become more and more complex, it can be easy to end up with a tangled mess of code that makes maintenance nearly impossible. Applying the concept of tiered applications can help to alleviate some of the difficulty in maintaining complex applications.
Tiered programming is a method that splits up the components of an application (like a separation between presentation and business logic). They talks about what a setup like that might gain you, the wrong way to do it and the right way that splits it out into the database tier, the business tier and the presentation tier.
voice your opinion now!
power application multitier tier database business presentation
Developer Tutorials Blog: Five Wordpress Tips for Power Users
by Chris Cornutt May 07, 2008 @ 07:57:58
On the Developer Tutorials Blog today, there's a new post aimed at WordPress users to help them on the path to becoming "power users" with five tips.
If you're a wordpress power user, you'll inevitably have some questions about how you can improve your blog or add new features. Here are five tips that will make life easier for people wanting to maximize their use of Wordpress.
The list is:
- Quickly Find Page/Post ID
- Custom Front Page
- Password Protect Wordpress
- Protect from the 'Digg Efect' with HTML
- Stop Hackers
Each of them with their own explanations (and links to other resources detailing how they're done).
voice your opinion now!
wordpress power user tips find custom page password digg hacker
|
Community Events
Don't see your event here? Let us know!
|