Get Major Training|Project Training|Live Project|Industrial Training On Android| I-Phone | Java | J2SE | J2EE | C#.Net | ASP.Net| PHP | PHP with Wordpress | Joomla | Majento Contact us

Showing posts with label developer tips. Show all posts
Showing posts with label developer tips. Show all posts

Wednesday

How to get div on ajax response

How to get div on ajax response!!

Nowadays, We like to use jQuery to submit forms or use AJAX for many small small things, But sometimes we need only specific div to perform action or do something but the problem is AJAX returns full page data in response, getAjax.php :

 

Suppose you’re calling ajax to getAjax.php from index.html and you want only “.class1″ content in response to append in “#main”, Here’s the code :
 index.html :

 
Continue Reading →

Tuesday

Magento Internal server error 500 solution

Magento Internal server error 500 solution

If you are installing Magento and you have uploaded your Magento files to your host and just when you are about to run the Installation wizard,  you get “500 Internal Server Error”. This error is because of the inappropriate file permissions.
To overcome 500 Internal Server Error :
  1. change the folder permission of below folder to 777
    1. app/etc
    2. var
    3. media
  2. change the file permission of below files from 664 to  644
    1. index.php (main index file in magento root folder)
    2. downloader/index.php ( otherwise if you will try to access System > Magento Connect >Magento Connect Manager (after magento installation) by logging to magento admin,  you will get 500 Internal Server Error.)
Continue Reading →

Monday

Using Codeignator in subfolder developer tip

Using Codeignator in  subfolder developer tip

setting up codeigniter can be nightmare with slightest mistake in .htaccess commands. I am pasting htaccess code which works perfectly for quick reference.

1
2
3
RewriteBase /myapp
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /index.php/$1 [L]
Continue Reading →

Tuesday

Rules for website load fast

How to make your website load fast

Rules to follow

Html Tips

Use External CSS OR JAVASCRIPT


PUT CSS <LINK> AT HEAD SECTION OF WEB PAGE

AND JAVASCRIPT <SCRIPT> AT THE END OF WEB PAGE

USE ASYNC IN YOUR SCRIPT <script async src="example.js"></script>


CSS TIPS

COMPRESS YOUR CSS FILE WITH AUTOMATION TOOL

LIKE Http://learnboost.github.com/stylus/

combine your CSS. Having a smaller number of files will result in a smaller
number of requests and a faster loading page
Continue Reading →

Monday

Why to examines multibrowser in development

Today I will share with you to find
useful tools that you can use for
your cross-browser compatibility
check.

Multi-browser means a website will
work in several web browsers like
Safari, Chrome, Firefox, Internet
Explorer. While cross-browser means
a website works in any browser, and
any version of the browser, being
used.

BrowserShots
BrowserShots is a free cross-browser
tool that captures screenshots of the
website in different browsers. This is
the best known and the oldest cross-
browser tool used by developers.
The browsers it supports are:
Google Chrome
Dillo
ELinks
Epiphany
Mozilla Firefox
Galeon
and more…
The operating system it supports
are:
Linux Windows Mac

IE Tester
If you are a developer who is in
need of a tool that just supports
Internet Explorer, then this tool is
for you.
IETester, a free web app that allows
you to see the appearance of web
pages by using Internet Explorer 5.5,
6, 7, 8 and 9. Its interface resembles
the interface of MS Word 2007.

Continue Reading →