Categories
- agile (3)
- algorithms (17)
- css (29)
- download (3)
- featured (46)
- flex 3 (25)
- javascript (138)
- micro tutorial (202)
- PHP (108)
- portfolio (5)
- snippets (7)
- video (1)
- web development (167)
- zend framework (80)
Monthly Archives: August 2010
PHP: What is More Powerful Than list() – Perhaps extract()
list() in PHP Recently I wrote about list() in PHP which is indeed very powerful when assigning variable values from array elements. $a = array(10, array(’here’, ‘are’, ‘some’, ‘tests’)); list($count, $list) = $a; Actually my example in the post was … Continue reading
Posted in micro tutorial, PHP
Tagged array, Arrays, Associative array, Comparison of programming languages, Computer programming, Computing, Data structures, Data types, PHP, post
1 Comment
Beginning Algorithm Complexity and Estimation
Which is the Fastest Program? When a programmer sees a chunk of code he tends to evaluate it in a rather intuitive manner and to qualify it as “elegant” or not. This is quite easy, because it’s subjective and nobody … Continue reading
Posted in micro tutorial, PHP
Tagged algorithms, Analysis of algorithms, Asymptotic analysis, Big O notation, C syntax, complexity, example, how-to, IP, Lenstra elliptic curve factorization, Mathematical analysis, Mathematical notation, Mathematics, Negation, PHP, programmer, tutorial, Variable
Leave a comment
Flexible JavaScript – Replace in a String
Here’s yet another example of the JavaScript flexibility. You can simply call .replace() on every string and pass a regex as a parameter! var str = ‘my simple string’; str.replace(/ /g, ‘-’); // now ‘str’ will contain ‘my-simple-string’







