Archive for the ‘web design’ Category
HTML5 Samples
July 16th, 2010
Step one
You can use standard object testing to determine if the browser supports GeoLocation.
<script>
/**
* This function is the callback which is passed the result from the .getCurrentPosition()
* function. The pos argument can contain more information than just the latitude/longitude,
* such as altitude, accuracy and speed information.
*
* @param object pos The result from the getCurrentPosition() call
*/
function myCallback(pos)
{
var myLatitude = pos.latitude;
var myLongitude = pos.longitude;
}
/**
* Test for GeoLocation support and make the call
*/
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(myCallback);
} else {
alert("Sorry, your browser doesn't appear to support GeoLocation");
}
</script>
Step two
Once you have tested for it, we can then retrieve the position using the getCurrentPosition() method. You pass this method a callback function which you define. This callback function is given an object (if successful), with various properties:
- latitude
- longitude
- altitude (optional)
- accuracy
- altitudeAccuracy (optional)
- heading (optional)
- speed (optional)
- timestamp
Tags: amphee, html5, symfony development india, symfony web devleopment india, web development
Posted in HTML 5, web design, web development | No Comments »
Once Again SENSIO LABS comes with great things for developers [STAND ALONE COMPONENTS FOR PHP]
October 31st, 2009
Symfony Components are stand alone php libraries that can be handy in the development of php. Those are earlier coupled with the symfony and now available separately from the symfony package.
Just have look at those
YAML : PHP library that speaks yaml. YAML framework is the php library which take yaml as string and convert in to php array. All in all it is great product if you want to use it in any of your php project.
it is open source and available at YAML Component of Symfony
Templating : Which is templating engine, that you can use in any of your php project. It is the templating tool which you can use in any kind of templating system. Available at Templating System
And some other components available like EVENT DISPATCHER, DEPENDENCY INJECTION
And Request Handler The flexible micro-kernel for fast frameworks is coming sooner. have a look at
Symfony Components
All in all if you are now interested in symfony’s some of the features to implement only. THIS IS THE BEST OF COMPONENTS YOU CAN TRUST. AND YET NOT REQUIRED TO USE THE SYMFONY. It shows the robustness of symfony projects.
Posted in symfony, web design, web development | 1 Comment »
some useful wordpress plugins
September 2nd, 2009
here is the list of some useful wordpress plugins. i hope everyone like tht
Advanced Tagline gives the option to have multiple taglines for your blog and display them at random or sequentially with each page view.
Want to create a poll for your readers and see live results? Bloggers use polls more than any other interactive application to engage their readers. Create an engaging experience for your audience today and keep them coming back for more.
Don’t you find it annoying when someone comments with just a smiley? Or a “thanks”? On quite a few forums you have to leave a comment with a minimum of 15 characters to be able to comment, but WordPress doesn’t allow you to set such a threshold. With this plugin, it does.
This plugin displays random blogging tips and suggestions. The tips are just some ideas of what you can do to improve the popularity of your blog and improve the content. All of the tips are designed to inspire you to be a better blogger.
Gravatar recent comments is a plugin providing you with a “Top/last commenters” widget but instead of just displaying names, it also displays gravatars.
Scan all of your theme files for potentially malicious or unwanted code. Be aware of advertisements or dangerous JavaScript inserted into legitimate themes by third party theme download sites.
List Category Posts is a simple WordPress plugin which allows you to list some posts from a category into a post/page using [catlist=ID], where ID stands for the Category Id.
This WordPress plugin allows you to create sections of text in your post or page which expand/collapse when clicked on. You simply wrap the special tags around your text, and set the ‘expand link’ (the link visitors click on to show the text).
Actionable allows the creation of a categroized list of action items for users to check off and track. It was originally developed for Share 350.0 – a plan for regional sustainability to help people track their actions and efforts to create a sustainable community.
Lightbox Plus is used to create overlay display images on the webpage and to automatically add the correct overlay links to images. Lightbox Plus captures the image title for display using a fairly robust regex to capture most character that may appear as part of the title.
original blog from http://www.blogohblog.com/10-new-useful-wordpress-plugins/
from,
kiran
Tags: cms plugin, PHP, plugins, woprdpress
Posted in php development, web design, web development, wordpress | 1 Comment »
Creative Uses for PHP
May 6th, 2009
If you’re a familier with the word ‘PHP’ then here is some useful creative uses for it.
E-Commerce
E-commerce is one of the major uses for PHP. From a small business level to an enterprise level, businesses are always looking to create additional streams of revenue online. If you know how to integrate existing e-commerce solutions or build your own from scratch, this gives you a distinct advantage with your clients.
Beginners
Advanced Coders
· CakePHP.
Graphical User Interface
If PHP is your favorite programming language, then you can use some of these PHP extensions to get you started creating GUI applications.
- PHP GTK – This extension is a popular open source that implements the GIMP toolkit
- ZZEE PHP GUI – A paid solution that allows you to turn your PHP scripts into Windows applications
Image Processing and Generation
Using the GD library with PHP, you can do more than just output HTML to the browser! You can output images in different file types including jpeg, png, and gif. This feature of PHP is useful because it allows you to create thumbnail pictures, add watermarks, resize and crop images, and even create a photo gallery!
Mailing Lists
You can write your own script to send e-mail newsletters to your client, or use a ready-made script. The PHP online documentation explains PHP mailing functions in more detail. There are also scripts you can download and install on your website:
Developing Facebook Applications
You can integrate Facebook with your website using PHP. If you have developed Facebook applications using another language or you would like to get started with PHP, the Facebook developer’s wiki can help you to get started.
Create Graphs and Charts
Do you need visual representations of numbers on your site? PHP can create graphs and charts too! Using Image_Graph, you can create up to fourteen different types of charts including pie charts, bar graphs,.
Generating PDF Files
The PDF format is Adobe’s proprietary file type for document exchange. Using a library called PDFLib, you can generate PDF files with PHP. This library is already included with PHP5; to access it, you need to uncomment the appropriate lines in your PHP configuration file. An example of why creating PDF files might come in useful is, if you were building an online invoicing application and you wanted to output an HTML-generated invoice in PDF format.
Parsing XML Files
PHP allows you to parse XML files. Parsing XML is an important feature of PHP 5 because not all browsers can output the contents of an XML file; so you can create a parser in PHP to facilitate this process. Using XML is important for RSS feeds, and also for data storage and rendering data on different devices – for example, cell phones use an implementation of XML called WML (Wireless Markup Language). Working with XML files in PHP is similar to handling the opening, closing, and reading of a file.
Content Management Systems
One of the most popular uses of PHP is creating or using Content Management System. A good CMS allows your clients to update their website and add content without any in-depth knowledge of HTML and CSS. You can use one of the widely available free or commercial solutions listed below:
Create Dynamic Website Templates
Using PHP, you can make it easier to add pages and elements to your websites dynamically. You begin by creating the HTML page and splitting it into the header, main content, and footer sections. Add the .php extension to your subsequent pages and use server-side Includes for the header and footer for each new page. You can also have dynamic sidebars and top navigation sections. As a matter of fact, the more “templated” your site is, the easier it is to update the content.
Building an Online Community
You can build your own PHP-driven online community, or choose from widely available scripts that you can implement into your website. Some popular ones include:
from kiran vadariya
Tags: creative use, online community, PHP, uses, web development
Posted in database, drupal, javascript, joomla, php development, web design, web development | 1 Comment »
WordPress for Designers Series
May 4th, 2009
WordPress is not only a web technology by itself but excellent combination of HTML, CSS, PHP and jQuery. The most popular blogging platform and one you’ve most likely heard of. When you’re ready to learn how to use WordPress, these tutorials will teach you what you need to know.
If you want to learn how to work with WordPress, one of the best places to start is by watching this series of screencasts. Okay, so this isn’t one tutorial but that’s what I’m calling it since it’s one big series covering one subject, WordPress. This series isn’t finished yet either so make sure you subscribe to the ThemeForest blog to keep up to date on new screencasts as they arrive
i have few links for you chk this
- WordPress for Designers: Day 1
- WordPress for Designers: Day 2
- WordPress for Designers: Day 3
- WordPress for Designers: Day 4
- WordPress for Designers: Day 5
- WordPress for Designers: Day 6
- WordPress for Designers: Day 7
- WordPress for Designers: Day 8
- WordPress for Designers: Day 9
- WordPress for Designers: Day 10
- WordPress for Designers: Day 11
- WordPress for Designers: Day 12
- WordPress for Designers: Day 13
- WordPress for Designers: Day 14
hope your enjoyed it
Tags: css, designer, Jquery, PHP, wordpress
Posted in javascript, php development, web design, web development | 1 Comment »

