PHP 5.5 released now. (20-Jun-2013). For all changes, read the complete changelog.There are no big changes, important changes you can view at, Changes. More coming soon
Thursday, 20 June 2013
Tuesday, 18 June 2013
Commercial email ACT
Copied from, http://business.ftc.gov/documents/bus61-can-spam-act-compliance-guide-businessSummary,Use proper header,Your “From,” “To,” “Reply-To,” etc should true not fake.
Subject should not be misleading.- If your email is ad, then clearly disclose that your message is an advertisement
. - Tell recipients where you’re located. This can be your current street address, a post office box you’ve registered with the U.S. Postal Service, or a private mailbox you’ve registered with a commercial mail receiving agency established under Postal Service regulations
- Any opt-out mechanism you offer must be able to process opt-out requests for at least 30 days after you send your message. Give Un-subscrition option and that email should not be block by our own server (like as spam). Also give options to select how to receive future emails. That should be clear (font, color, etc). You must honor a recipient's opt out request within 10 business days
- You can't sell emails to anyone.
Hello jQuery
In jQuery, $ is variable which are chainable, (chainable means we can call multiple methods calls in chain, like,
$("#id").method1('value').method2('value2');
Don't worry, if you don't understand at this time. Later, you will learn it.
$("*") // * means all so it will select all elements of html DOM.
$('table') // to select all tables in html page.
General,
$('elems') // this will select all elements of html page, that are elems.
For more list, please visit http://api.jquery.com/category/selectors/
$("#id").method1('value').method2('value2');
Don't worry, if you don't understand at this time. Later, you will learn it.
- Selecting DOM object through jQuery, (if you don't know DOM, I will post on html DOM some other day, but then only you will understand it)
$("*") // * means all so it will select all elements of html DOM.
$('table') // to select all tables in html page.
General,
$('elems') // this will select all elements of html page, that are elems.
- Selecting all css classes using jQuery,
- $("#id1") // this will select element having idi as id
For more list, please visit http://api.jquery.com/category/selectors/
Monday, 17 June 2013
jQuery basic
Visit official jquery site. jQuery is javascript library which is cross-platform/ browser, fast, robust, easy to learn. It makes things easy which are difficult to do in alone javascript (although, jQuery itself is in javascript). It creates, virtual namespace (which is advance for beginner, so I am not explaining here). Main benefits of jQuery ,
- It makes javascript programming easy.
- Platform independent / Cross- browser
- It's used by millions of people.
- Unobtrusive JavaScript. It seperates html and javascript. (Though, it can't seperates100%, and it also depend on your own coding.
- It is used by wordpress/ wikipedia
- Progressive enhancement - if browser don't support few features of javascript / jQuery, there should be way to access basic content of page. Javascript should provide enhancement/ wow effect. But it doesn't mean, without javascript, we can't access page. Like when you visit, mail.google.com (gmail) and internet is slow, a pop up comes that says, load basic html. It's progressive enhancement.
- Degrading gracefully - if javascript is disabled, page should load properly. Like above gmail example.It is reverse of progressive enhancement.
<script src="http:////ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>Now, you are ready to go, see next blog for learning jQuery
Subscribe to:
Comments (Atom)