On The Web
Resources on the Web
Visual Lightbox
0
This post is for those who wish to implement a beautiful Lightbox plugin on their site or blog and, unfortunately, do not have a clue about Javascript and/or jQuery and/or Html.
VisualLightBox is a free application that helps you easily generate online photo albums, lightbox gallery with a nice Lightbox-style overlay effect, in a few clicks without writing a single line of code.
Just drag&drop your photos to VisualLightBox wizard window, press “Publish” and your own css web site album with beautiful LightBox effects will open in the browser instantly!
No css, image editing, javascript, html coding, just a click to get your cool web page album ready.
It takes less than a minute to have your own image gallery.
For full documentation please go to http://lightbox2.com/
Newbies, now there is no excuse to have your featured lightbox on your site!
Tweet this!
Hip Hop for PHP?
0
Guys, it seems that the days of breaking your head towards how to protect your PHP code is about to end. Following a great article from the Web explaining what happens nowadays with PHP Hip Hop Facebook’s approach.
The open source dynamic scripting language PHP is widely deployed across the Web, powering countless Web sites (including the Internet.com network). Now Facebook is aiming to change the game with today’s release of a major new PHP effort called HipHop.
With HipHop, Facebook is providing a new runtime that is intended to improve PHP use in large-scale deployments. The HipHop effort, which also includes a new Web server, has already been in use by Facebook for the past six months, though the project is just being made public today.
Facebook developers say the HipHop effort isn’t an attempt to fork the PHP community, but rather, a move to help PHP scale.
“There are two different pieces to keep in mind, one is the PHP language itself, then there is the runtime that actually goes and interprets the language and runs it,” David Recordon, Facebook’s senior open programs manager, told InternetNews.com. “What we’ve done is we’ve implemented the PHP 5.2 language with a few features removed. Our plan is to keep the language the same, but what we’ve changed is the underlying runtime and the process of going and transforming the source code into C++ and then compiling it and pushing out the compiled binary.”
Facebook said the results of using HipHop have been dramatic. CPU usage on Facebook servers has dropped by an average of 50 percent as the HipHop PHP engine reduced the load on Facebook’s infrastructure.
The results have proven to be compelling enough that Facebook now uses HipHop to deliver more than 90 percent of its production server traffic.
HipHop isn’t just a new code transformation tool, either. The overall effort also includes a new Web server to deploy PHP as well. Typically, in open source deployments, PHP is served with Apache Web servers.
“In general, Apache is a great Web server, but when we were looking at how we get the next half percent or percent of performance, we didn’t need all the features that Apache offers,” Recordon said. He added, however, that he hopes an open source project will one day emerge around making HipHop work with Apache Web servers.
The idea of optimizing the PHP runtime is not a new one, with multiple solutions in the market today including eAccelerator and commercial PHP products from Zend. Zend is one of the lead commercial sponsors behind PHP.
“HipHop looks like an interesting project,” Zend CEO Andi Gutmans told InternetNews.com. “We have been briefed by Facebook but will certainly take a closer look now. There have been other such projects but most have been targeting managed runtimes such as Java and .NET with various degrees of success. We welcome any innovation that will help PHP extend its leadership position in Web application development.”
Gutmans added that, as is the case with all runtimes, it is important to continue innovating and the PHP runtime has continued to evolve over the years.
“I think it is important to continue to fold in new ideas and innovations into the community-based runtime and it’ll be interesting to learn what HipHop concepts could be relevant to the existing PHP community,” Gutmans said.
With some PHP runtime optimization solutions, the optimization is often a simple matter of a module load and a line change in the php.ini configuration file.
It’s not quite that easy with HipHop.
“This is not an extension to PHP — this is pretty different,” Recordon said. “Right now, the process is once you build and compile HipHop, it comes with a tool that will go through the transformation process and output the binary, and that’s what you actually use to run it.”
With HipHop, Facebook said its aim is not to split the PHP community but rather to help grow it. According to Recordon, HipHop will help to solidify PHP’s position as a great language for doing Web site development.
“There is definitely the piece in there that HipHop is designed for larger PHP deployments and not necessarily for individuals hosting their own blog or small Web site,” Recordon said. “The proof of the effect of HipHop will be over the next year as we start to make deployment tools easier, and as we start to build a successful community around it and start working with others on its future development and solving problems for companies beyond just Facebook.”
Tweet this! Apple Reveal iPad
0
After so much expectation, a new family member of Apple named iPad, has seen the light. Steve Jobs introduced it in his annual San Francisco event and has already produced long queues to book on major stores.
IPad is called, weighs just 680 grams, and is thin, only 13,4 mm. This is the newest member of the Apple that was released yesterday. Steve Jobs, CEO of the firm, on its annual event in San Francisco released its new device to thousands of expectant people. And that, along with the iPhone, which was introduced three years ago, has become one of the biggest releases of the company, preceded as usual by numerous rumors that echoed on the Internet.
The new device has been born to close the ‘gap’ between smartphones and netbooks. Can navigate the web, send emails, view photos and videos, listen to music and reading e-books (the firm opened a store of electronic books, iBookstore, coinciding with the availability date of the iPad in March). But in addition, Apple has designed a new version of iWork, productivity suite of applications for desktop computers own specifically designed for multi-touch for the new iPad. With Pages, Keynote and Numbers The user can create formatted documents, presentations with animations and transitions, and spreadsheets with statistical graphs, functions and formulas.
In general, includes 12 new applications developed especially for the iPad and, according to Apple, it works with virtually all of the more than 140,000 applications available on the App Store, including those already purchased by the user for the iPhone or iPod Touch.
The user will see all these applications on a 9.7 inch screen and LED backlight, which includes winning IPS technology for crisp and clear, with a viewing angle of 178 degrees. All applications will work in both portrait or landscape, changing automatically and dynamically between views when the user rotates the iPad in any direction. In addition, applications will run on the chip itself A4 Apple.
For connectivity, the new device will offer two versions: one with comnicación Wi-Fi 802.11n, and the other with Wi-Fi and 3G, which supports speeds up to 7.2 Mbps on HSDPA networks.
Finally, adding that the company has launched a new software development kit (Software Development Kit or SDK) for developers to create applications designed to take advantage of the capabilities of the iPad.
Prices
Although the iPad will be available worldwide beginning in March, only been realized prices for the U.S., which depend on the storage device and wireless connection type you wish:
- The U.S. MSRP is $ 499 for the 16GB model,
- Cost $ 599 for 32 GB model,
- And $ 699 the 64 GB model
IPad models with Wi-Fi + 3G will be available in April in the U.S. and certain countries. U.S. Retail pricing be:
- $ 629 for 16 GB model,
- $ 729 for 32 GB model,
- And $ 829 the 64 GB model
Tweet this! Php Frameworks
1
I decided to jump over the MVC (Model View Controller) pattern and on one of my linkedin groups I drop a question:
Which one is best?
A huge amount of PHP programmers started to join this discussion writing their personal PHP Framework tastes, providing me with a huge list of Frameworks I would like to share with you. I don’t say that one is best that another, as one of the members said, there is no ‘best PHP MVC Framework, is whatever suits you best on your project goals’.
I know the list could be much bigger, if you know more PHP Frameworks to add to this list, please comment and I will update it.
Tweet this!
Germany recommends not using Internet Explorer ‘for security’
0
Microsoft recognizes that the security of their browser failed to recent attacks on Google
Europa Press News
The Federal Office of Information Security from Germany, warned Internet users to find an alternative to Microsoft’s Internet Explorer (Firefox, Chrome, Safari) ‘to ensure their security’, after Microsoft recognized that their browser failed in the recents attacks to Google’s sytems.
However, according BBC Channel, Microsoft rejected the advice of the Federal Office, saying that the risk to their users was low and by improving the security settings in Internet Explorer would solve the problems.
Nevertheless, German authorities said that even improving its security settings would make IE completely safe for Internet navigation. Microsoft spokesman in Germany, Thomas Baumgaertner, said the attacks were carried against Google by “highly motivated people, with very specific purposes”.
There was a time when I was completely in love with Internet Explorer -I was a begginer web programmer, eleven years a go, but for some reason, that beloved browser, which I constantly used for my Web applications to internal LAN users became a full nightmare on the real WWWorld. I truly don’t understand why the hell is needed so many browsers on the net, why the engine is not made ‘standard’ and then companies offering browsers differ for the added options (themes, plugins, etc…). That could be a dream, one single CSS, JS, HTML engine, just to make the life of the programmer ‘easier’.
I am glad of this new, I am sick of the constant effort of companies to get the ‘monopol’ of something, sick of the confussion and sick of the nightmares that every designer has to go in order to make a great site.
Hope we all follow that campaign. I, in my new project, will include the TOO COOL FOR INTERNET EXPLORER stick. Guys of Microsoft, please open your eyes… get real, stop creating silly tools in order to get onto the market fast and then try to fix your mistakes with patches and updates.

Too Cool for Internet Explorer
Tweet this!
jQuery 1.4 -Are you ready?
0
jQuery lovers, today, 14th of January, the programmers of jQuery celebrate its anniversary releasing a new version of this wonderful library. Better iFrame support, great new shorthands, I don’t know what to say fellows but I am eager to find out what its new features are capable of.
The jQuery programmers not happy with a new release has also created a new jQuery API site. Check what they have done on their API site here.
John Resig will announce 1.4 release details tomorrow but meanwhile, you can download it and see for yourself.
Also, if you want to learn more about what is new in jQuery 1.4 then you might find the following resources useful:
Check what is new or changed on this new release here.
Happy birthday jQuery! Thanks for the good work!
Tweet this! Build iPhone Web Apps with iWebKit
1
Iwebkit is the revolutionnairy open source development kit used to create high quality iPhone and iPod touch websites in a few minutes. In the first 4 months of it’s existance the pack has greatly evolved from a basic idea to a project that has reached worldwide fame!
This Open Source Free Development Kit is accessible to anyone even people without any html knowledge and is simple to understand. In a couple of minutes you will have created a full and profesional looking website.
Awesome new and advanced features offered by no pack in the world like a custom popup and iphone-style form elements.
Check out their website: http://iwebkit.net/
And their demo: http://demo.iwebkit.net/
Tweet this! SWFUpload_0_0. Error HTTP Status: 403 Solved
0
SWFUpload is a client-side file upload tool originally developed by Vinterwebb.se. It uses a combination of Flash and JavaScript to provide file upload functionality beyond what the basic browser provides with the <input type=”file” /> tag.
The main features that SWFUpload provides are:
- The ability to select multiple files in the file browser dialog.
- AJAX-style uploading without a page refresh.
- Upload progress events.
- Namespaced classes compatible with other JavaScript libraries (i.e., jQuery, Prototype, etc.).
- Flash 9 and Flash 10 support. (Flash 8 support dropped in version 2.2.0)
SWFUpload is different from other Flash based upload tools because of the philosophy behind its design. SWFUpload gives developers control by leaving the UI in the browser (as much as possible). Developers can use XHTML, CSS, and JavaScript to tailor the upload UI to the needs and style of their site. Upload status updates are made through a set of simple JavaScript events. The developer uses these events to update the webpage as the file upload progresses.
How to use it
I am not going to explain how to use it, if any of you are interested on it, SWFUpload guys have developed a very good site explaining its full functionality.
The problem
After successfully installing the component on one of my projects and working amazingly good on the local computer, when I uploaded the project to the server where I contracted the hosting, suddenly I had an error: SWFUpload_0_0. Error HTTP Status: 403.
I google to find a solution to my problem and found tons of people having the same issue and the answers where always the same. For example:
“You are getting a 403. Which means “forbidden”. This is something on the web server that you’ll have to figure out.SWFUpload doesn’t save the file. It just uploads it to your upload_url (upload.php). You need to add PHP code that saves the file. In PHP the uploaded file is found in $_FILE["Filedata"] by default.”
Say what? I looked at my server’s configuration, checked folder permissions, reviewed my JS and PHP code… NOTHING. Then I thought it was something wrong with server POST Payload checks. Normally, this security configuration is disabled by default on Apache Servers but my provider ‘could’ possibly had this security check on. I had to try and…
Solution
I solved the issue by creating an .htaccess file and writing the following in it:
SetEnvIfNoCase Content-Type “^multipart/form-data;” “MODSEC_NOPOSTBUFFERING=Do not buffer file uploads”
Hope this also works for those having the same issue.
Happy New Year BTW!
Tweet this! eyeOS a ‘very close’ Web Operating System
0I would like to talk to you about an open source Web application that I have followed since its beginnings: eyeOS. This application started with the goal to become a true Web Operating System and now the guys call it Open Source Cloud Computing’s Web Desktop. Even though the idea of having the system files on a server and have ‘dumb’ clients is not new, these guys have created a great tool and nowadays they even work in conjunction with the IT monster IBM.
Maybe the dreamed future of every System Administrator is near, where they do not need to have certain operating system installed on their computers and everything, every little detail, is managed from a server. Client computers just having a ‘web browser’ and a reliable network bandwidth (most LAN do have it) will reduce enormously companies costs and Microsoft’s pocket
Even though I think is a great tool I dislike their interface (sorry guys), it looks far too much like Windows and I think… that nowadays we could provide a better and more intuitive interfaces for clients. Not everybody is a guru folks and not everybody needs to learn Windows to use a computer. Best days are about to come but meanwhile, congratulations eyeOS.
ScreenShoots
Tweet this! Javascript Online Compression Tools
0
When a Web project is finished, it is time to think how to make it better, faster… how to improve user’s experience. One of the most important things is javascript code compression in order to speed up page downloads and there are a couple of tools around that allows us to do it.
I just include three references:
- The Online YUI Compressor – by Mike
- The Online YUI Compressor – by Rodolphe Stoclin
- The Online Javascript Minifier - by Vance Lucas
The Online YUI Compressors
These tools allows us to make use of the famous Yahoo Javascript Compression algorithm. Both of the above references does the same results, there is only a major difference between both: whilst the one created by Mike allows you to paste your script or upload a file to compress, the one created by Rodolphe Stoclin only allows us to upload the file to compress.
The Online Javascript Minifier
This tool can reduce our code by using two different algorithms: the JSMin by David Crockford and the Packer method by Dean Edwards.
Which One to Use?
I personally like those algorithms that do not make any use of the eval function and doesn’t change much the code I program, test, and implement. I think that will only depend of the developer choice.
There is an online tool that help us compare the algorithms. If that helps you to decide which one to use: http://compressorrater.thruhere.net/
Tweet this! 
