MongoDB is a NoSQL database and supports all the classic CRUD ( Create, Read, Update, Delete ) operations.To perform all this operations you have to select first a database and use the database pointer to select a collection ( collections are tables in the SQL … Read more »
MongoDB is one of the best NoSQL databases out there. NoSQL might seem odd at first glance and may be hard to pass from relational to non-relational databases but in time you begin to see the advantages.MongoDB probably isn’t the only solution for your application, … Read more »
CheatSheets are pieces of paper that sum up some importat aspects of a topic.Searching for PHP, Javascript, jQuery, etc. cheatsheets on the internet I found some great resources out thereCheatography.com seems to be the biggest searchable cheatsheets, but also in pdf format, literally hundredsAddedBytes.com great summaries, some … Read more »
Variables are preceded in PHP by a dollar sign $ and the rules for naming are: [a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]* or in plain english names of variables can begin with letters or underscores and then you can put other numbers letters and underscores. Letters here can include extended ascii characters from … Read more »
How to create 2 columns autocomplete.This is a little bit non w3c compilant, but it works fine:)<style>.resultBox{ float: left; width: 50%!important;}</style><input type="text" id="search-box">The ideea is to add two divs inside the results ul and render each result in the proper div$.widget( "custom.twocolumnsautocomplete", $.ui.autocomplete, { _renderMenu: … Read more »
I got this error while developing a website. It was odd the problema was not already reported, but that was because of the diferent language of the visitors.The problem seems to be from the CKEditor language detection mechanism, I tried alertedalert(CKEDITOR.lang.detect( 'en' )); // the … Read more »
Like in math: 3 + 4 * 5 = 23 and not 35, in PHP you have an order for interpreting the code. AssociativityOperatorsAdditional Informationnon-associativeclone newclone and newleft[array()right++ — ~ (int) (float) (string) (array) (object) (bool) @types and increment/decrementnon-associativeinstanceoftypesright!logicalleft* / %arithmeticleft+ – .arithmetic ?i stringleft<< >>bitwisenon-associative< <= > >=comparisonnon-associative== != === … Read more »
Zend PHP 5.3 Certification Exam is a measure of technical distinction that employers use to evaluate prospective employees.The exam consists of 70 questions that must be answered in 90 minutes and it cover the categories listed below. The questions are multiple choice (one or many responses) … Read more »
PHP tagsPHP code must be put between some special characters<?php ?><? ?> // with short_open_tag enabled or php with option --enable-short-tags<script language="php"> </script> // old style<% %> // ASP style asp_tags enabledOther formats<?php echo 'message'; ?> // this are equivalents<?= 'message'; ?> // if short_open_tag … Read more »