Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

SitePoint PHP Blog:
Why Is a String Called a String?
Jul 27, 2017 @ 16:52:40

On the SitePoint PHP blog editor Bruno Skvorc has written up a post that talks about why a string is called a "string" going back through the history of the term and discovering its origins.

Why is a string called a string? Have you ever given this some thought? We never use such a word in contexts other than programming for a set of letters sticking together, and yet – in programming it’s as pervasive as the word “variable”. Why is that, and where does it come from?

To find out, we have to tackle some related terms first. History lesson time!

He starts with these related terms including "font", "uppercase" and "lowercase". He talks about the printing process and how the "stringing together" of the series of characters might have been how customers using the press were charged. He then shifts over to the academic world for background there relating to a series of numbers and letters used in decision problems. The term caught on and showed up in several other academic papers over the years ending up eventually in programming language definitions and examples.

tagged: string term history printingpress letters sequence academic programming

Link: https://www.sitepoint.com/why-is-a-string-called-a-string/

Anthony Ferrara's Blog:
The Power of Technical Debt
Mar 29, 2012 @ 19:49:23

Anthony Ferrara has written up a great post on technical debt, relating it to terms that might be a bit more "real world" for many out there - corresponding financial problems.

Lately, I've found myself in a number of discussions about Technical Debt and how it applies to project development. Overall, I think it's a very powerful tool that -- when used wisely -- can be a great asset to any team. It seems to me that most of the people that I've been talking to really don't agree, and see Technical Debt as a plague that should be eliminated at first sight. So, I figured I'd share my opinions, and see what you think...

He talks about a few different kinds of technical debt described by the names of their financial counterparts:

  • the Payday Loan (a current concession for the sake of time)
  • a Mortgage (making small parts, payments, of a whole without consideration of the overall picture)
  • a Credit Card (not knowing the need causes a sub-optimal solution)
  • Hidden Debit (an unclear understanding of the full scope of the debt)

He also touches on two other topics - how to find and get rid of the Hidden Debt your project might have and a common misconception that technical debt doesn't exist in an aglie world.

tagged: technical debt financial term relation opinion

Link:

DZone.com:
Zend_Glossary
Nov 24, 2010 @ 18:13:18

If you're new to using the Zend Framework, you there's one big hurdle you might have to overcome. There's a lot of terms used in the system that might not be all that familiar to you. Thankfully Giorgio Sirnoi has written up a guide (he calls it a "Zend_Glossary") to help smooth over the rough parts.

When you're approaching a framework with a learning curve as steep as ZF, it's easy to be overwhelmed by new terms and declare them buzzwords. Instead, they have often a very precise meaning. I've creates this glossary to collect all the defined terms I could find, so that the PHP developer new to Zend Framework would have a place to come and lookup in the time of confusion.

He breaks it up into a few different sections - generic/reused terms, common component names, what MVC and the bootstrap are as well as the different parts of Zend_Forms.

tagged: zendglossary glossary common term confusion

Link:

Ian Barber's Blog:
Alternative Term Weighting
Nov 09, 2009 @ 18:24:36

In this new post from Ian Barber he takes a look at something that can come in very handy when you need something a bit more complex than the standard search results - term weighting.

The term weighting and ranking function is at the core of any information retrieval system. The vector space model with the cosine similarity is maybe the best known and most widely used, but there are plenty of alternatives. We're looking at two here, the BM25 function based around a probabilistic model, and a function based around language modeling.

He's put together a few examples on some basic weighting practices - simple string evaluation based on word occurrence, using the Okapi/BM25 method and language modeling with a little bit of probability and scoring involved.

tagged: alternative term weighting search

Link:

Dave Dash's Blog:
Boosting terms in Zend Search Lucene
May 30, 2007 @ 13:49:00

On the SpinDrop blog today, Dave Dash continues his look at the Lucene search engine for the Zend Framework with this new post showing how to boost certain terms' relevance in the search results.

Lucene supports boosting or weighting terms. For example, if I search for members of a web site, and I type in Dash, I want people with the name Dash to take precedence over somebody who has a hobby of running the 50-yard Dash.

He shows how to, with the help of a few simple lines of PHP code added to your application, you can easily boost terms based on field by whatever multiplier you choose.

tagged: boost term result search lucene zendframework zendsearch boost term result search lucene zendframework zendsearch

Link:

Dave Dash's Blog:
Boosting terms in Zend Search Lucene
May 30, 2007 @ 13:49:00

On the SpinDrop blog today, Dave Dash continues his look at the Lucene search engine for the Zend Framework with this new post showing how to boost certain terms' relevance in the search results.

Lucene supports boosting or weighting terms. For example, if I search for members of a web site, and I type in Dash, I want people with the name Dash to take precedence over somebody who has a hobby of running the 50-yard Dash.

He shows how to, with the help of a few simple lines of PHP code added to your application, you can easily boost terms based on field by whatever multiplier you choose.

tagged: boost term result search lucene zendframework zendsearch boost term result search lucene zendframework zendsearch

Link:

Ilia Alshanetsky's Blog:
Reliably locating phpinfo()
Oct 23, 2006 @ 16:26:00

In his latest post, Ilia Alshanetsky shares a handy (and a little scary) tip on finding the location of a phpinfo page reliably to help figure out the common PHP settings developers out there are using.

The problem with finding a reliable pool of such pages is that basic search often contaisn many blog, forum, bugs.php.net and alike entries which area copy & paste outputs from users. This maybe fine in some instances, but what if you just want the real phpinfo() pages. The answer is surprisingly simple.

His solution? To search for an element always in the page, but unique to it - usually the term you're looking for (like his suggestion of "Zend Scripting Language Engine"). He links to two result sets, one from Google and the other from Yahoo.

Besides the phpinfo information, Ilia also mentions the other handy data you can find with similar searches to major search engines like Apache header information.

tagged: phpinfo locate statistics search engine term keyword apache header phpinfo locate statistics search engine term keyword apache header

Link:

Ilia Alshanetsky's Blog:
Reliably locating phpinfo()
Oct 23, 2006 @ 16:26:00

In his latest post, Ilia Alshanetsky shares a handy (and a little scary) tip on finding the location of a phpinfo page reliably to help figure out the common PHP settings developers out there are using.

The problem with finding a reliable pool of such pages is that basic search often contaisn many blog, forum, bugs.php.net and alike entries which area copy & paste outputs from users. This maybe fine in some instances, but what if you just want the real phpinfo() pages. The answer is surprisingly simple.

His solution? To search for an element always in the page, but unique to it - usually the term you're looking for (like his suggestion of "Zend Scripting Language Engine"). He links to two result sets, one from Google and the other from Yahoo.

Besides the phpinfo information, Ilia also mentions the other handy data you can find with similar searches to major search engines like Apache header information.

tagged: phpinfo locate statistics search engine term keyword apache header phpinfo locate statistics search engine term keyword apache header

Link:


Trending Topics: