Tuesday, April 17, 2012

10 great websites for PHP code snippets and tutorials

1. PHP Builder - Offering articles about the different features of PHP, as well as a code library with free to use code snippets for your own website and applications.

2. PHP.net - The official website of the PHP programming language. They offer a complete documentation of PHP, downloads of the latest PHP version, and news.

3. The Basics - Learn the very basics of the language, from loops and arrays to sending email messages with PHP.

4. Pixel2life - Offers some more extensive guides, with tutorials about shopping carts, file uploads, security and more. You can also find tutorials on lots of other platforms like Flash, Photoshop and 3D rendering.

5. WeberDev - 2800+ tutorials and code examples for PHP. You can find information here for almost any aspect of PHP coding, including beginner guides.

6. PHP at W3C Schools
- A reference guide for some of the most common functions of PHP. They also offer a guide for setting up a MySQL connection and updating your database.

7. PHP Freaks
- Useful PHP tutorials and a forum where you can ask questions to other members of the community.

8. Devshed - 400+ more advanced tutorials on PHP, MySQL and lots of other programming languages. Their website Scripts.com offers 1000+ scripts, to use in your website and to build upon.

9. Planet PHP
- The latest news aggregated from PHP related blogs, keeping you up to date with new versions, security flaws, etc.

10. Hotscripts - 15000+ PHP scripts. Most of the scripts are free, but there are also paid scripts available on this website. There are lots of other languages available for download as well, like ASP, Ajax and Javascript.

Read More...

Monday, April 16, 2012

Programming for mind management

A wise king wanted advice about what to do when he faced a real crisis in his life. He met his master. The master gave him a locket and told him to open it only when he was in difficulty. After some years he was defeated in a battle and he lost his kingdom.

He was worried and was hiding in a cave. He suddenly remembered what his master had told him. He opened the locket and there he found a note, "even this will pass", and a second note which said, "if one door closes another door opens". He gained strength from this piece of advice and after a month won his kingdom back. He went to his master and thanked him and asked a question: "Why does the door close?" "The door is always open, your mind is closed," replied the master.

There are two types of worlds we live in. The visible world and the invisible world. The outer world and the inner world. Our body is in this outer space but our mind is in another space. Just as our body gets dirty if one is in a dirty space our inner self, our mind, gets dirty if we visit dirty areas in the inner world. If one broods over worry, dislike, anger, jealousy, then our mind is polluted. With such pollution you find the outer world a pain. The real pain is when our mind lives in negativity.

What type of world are we in? This is what one should really be aware of. Where are we placed psychologically is what we have to watch for. One believes that the outer world is the real world and not the inner world of mind.

Read More..

IBM & Red Hat Will Reportedly Join OpenStack


IBM and Red Hat are supposed to step out of the background and officially join the OpenStack movement.
According to GigaOm, they could sign up this week or next week at the OpenStack Spring Conference.
IBM was on a list of contributors to the open source cloud project in February. Red Hat reportedly did a lot of the packaging for the new Essex release of OpenStack that should make it easier to bundle in Linux distributions like Fedora and Ubuntu.

Sunday, April 15, 2012

Release of OpenNebula 3.4 with the Most Powerful Open Cloud Solution for VMware


OpenNebula 3.4 is the most feature-rich open-source alternative to VMware datacenter and cloud suite, delivering enterprise-class functionality, stability and scalability with broader platform support and integration capabilities for KVM, Xen and VMware hyper visors.

OpenNebula is proud to announce the release of a new stable version of its widely-deployed open-source management solution for enterprise data center virtualization. OpenNebula 3.4 delivers the most feature-rich, customizable solution to build enterprise virtualized data centers and private clouds on Xen, KVM and VMware, providing cloud consumers with a choice of interfaces, from open cloud to de-facto standards, like the Amazon API. This new release brings countless valuable contributions from many industry members of its large user community, including Research in Motion, Logica, Terradue 2.0 and CloudWeavers, and from research and academia, especiallyClemson and Vilnius Universities.

Red Hat and 10gen Create Compelling Open Source Data Platform


Red Hat announced a partnership with 10gen as the first NoSQL database solution for its OpenShift PaaS offering in 2011. As enterprises increasingly look for proven solutions to handle big data needs, Red Hat and 10gen have broadened their collaboration around NoSQL, helping developers to deliver on the promise of big data, Internet and cloud technologies working with Red Hat solutions.
"Web and enterprise developers need solutions that allow them to rapidly deploy applications that deal with large amounts of data in flexible public or private cloud environments," said Scott Crenshaw, vice president and general manager, Cloud Business Unit at Red Hat. "Combining Red Hat's technology stack with 10gen's MongoDB NoSQL database will help developers to deliver on the promise of big data and cloud technologies."

Saturday, April 14, 2012

FuseSource Launches Beta Program for New Open Source Integration and also Messaging Platforms


The beta program includes:

Fuse ESB® Enterprise 7.0 is an enterprise-class, open-source integration platform based on FuseSource offerings that have been proven in mission-critical deployments across hundreds of large enterprises. Customers can purpose-fit the highly flexible Fuse ESB® Enterprise platform to virtually any environment.

Fuse™ MQ Enterprise 7.0 is an open-source, standards-based messaging platform that can be deployed in any development environment with a very small footprint. The Fuse™ MQ Enterprise platform makes it easy for IT organizations to deploy and connect customized integration connections.

Monday, February 9, 2009

Protothreads for UNIX

Protothreads are a type of extremely lightweight threads - each protothread requires only two bytes of memory - that are usually used for embedded firmware programming, where memory is at a premium. Protothreads combine the low overhead with event-driven programming with the algorithmic clarity of threaded programming.

Larry Ruane from LeftHand Networks Inc. has written a protothreads library for Unix systems that, unlike Adam Dunkels' original library, contains a complete scheduler that allows several protothreads to run inside a regular thread. Ruane's protothreads are implemented in less than 400 lines of C code using gcc's labels-as-values feature. The project wiki has a thorough explanation of how protothreads work and how they are intended to be used. The open source code can be downloaded from the project's SourceForge page.

Read More...