Archive for Coding

The knowledge structure on computer language

Recently, I made clean the knowledge structure on computer language. Maybe it is helpful for some new guys on this field. There are six levels totally.  On each level, I just put some words there. But each word has rich and deep content. Since now, I will dive deep into them.

    6th, Top:

  • VM, compiler
  • Performance Tuning
    ——————————————————————————————
    5th, High Level:
  • Algorithms
  • DesignPattern(Singleton, Observer, Producer, Consumer, Adapter, MVC, Command, Strategy, Composite)
  • Framework(J2EE,Struts,Spring,Hibernate,Zend,CakePHP…)
    ——————————————————————————————
    4th, IDE:
  • debug
  • unittest
  • team
  • SCM
    ——————————————————————————————
    3rd, Extension:
  • Log
  • Error handle
  • Math
  • RE
  • IO(Stream, Serializing, Buffer, Channel, Compression) -> Filesystem
  • Network(Socket,Mail,FTP, News, LDAP)
  • MultiMedia(Image,Sound,Movie)
  • Serial,Parallel
  • GUI(AWT,Swing,2D,3D)
  • Internationalization, Localization
  • Database(Connection, Query, Result, RowSet, Transaction)
  • XML(DOM, SAX, DTD, XPath, XInclude, Validate, XSL/XSLT, WebService[RPC,SOAP], Data Binding, XLink, XPointer, Schema)
  • Distributed(RMI)
  • Thread(Safe, Priority, Synchrony,Notification, Atomic, ThreadGroup, ThreadPool, Time)
  • Invoke Other Language/Native
  • CGI(WebServer, AppServer, Cookie, Session, Embed, Authentication, Request, Response, Header, Tag, MVC, ORM, Template)
  • Security(Encryption,Decryption,SSL,GPG)
    ——————————————————————————————
    2nd, Feature:
  • DataStructure(list,map,stack,iterator,tree, queue, vector, dictionary, table, bitset, properties, Enum)
  • OO(Polymorphism, Override, Inheritance, Clone) (instanceof, compare, serialize, toString) (Nested, Member, Method, Constructor, Destructor, Finalize, This, Instance, Static, Abstract, Interface, Casting, Final, Anonymous, Reflection, Generics)
    ——————————————————————————————
    1st, Syntax:
  • Variable
  • Operator
  • Keyword
  • Datatype(number,boolean, character, array,date,string)
  • Control Flow(if else, while for, break, continue, case, return, assert)
  • Comment, Doc(Annotation)
  • Function(Reuse)
  • import, include

Share this: del.icio.us Digg Furl Reddit BlinkList blogmarks Google Ma.gnolia Netscape Newsvine Simpy Spurl StumbleUpon Technorati Windows Live Yahoo!




Reduce, Reuse, Recycle

 

"The 3 R’s"

Jack Johnson

Three it’s a magic number
Yes it is, it’s a magic number
Because two times three is six
And three times six is eighteen
And the eighteenth letter in the alphabet is R
We’ve got three R’s we’re going to talk about today
We’ve got to learn to
Reduce, Reuse, Recycle
Reduce, Reuse, Recycle
Reduce, Reuse, Recycle
Reduce, Reuse, Recycle
If you’re going to the market to buy some juice
You’ve got to bring your own bags and you learn to reduce your waste
And if your brother or your sister’s got some cool clothes
You could try them on before you buy some more of those
Reuse, we’ve got to learn to reuse
And if the first two R’s don’t work out
And if you’ve got to make some trash
Don’t throw it out
Recycle, we’ve got to learn to recycle,
We’ve got to learn to
Reduce, Reuse, Recycle
Reduce, Reuse, Recycle
Reduce, Reuse, Recycle
Reduce, Reuse, Recycle
Because three it’s a magic number
Yes it is, it’s a magic number
3, 3, 3
3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36
33, 30, 27, 24, 21, 18, 15, 12, 9, 6, and
3, it’s a magic number

 

That is the thing that we to do as programming.

More story is here  The Lazy, Clever Programmer: A Compendium Of Code Reuse & Recycling


Share this: del.icio.us Digg Furl Reddit BlinkList blogmarks Google Ma.gnolia Netscape Newsvine Simpy Spurl StumbleUpon Technorati Windows Live Yahoo!




How to make one Google Blog Search Form in your blog

Google blog search service is one nice search engine. And you can search articles in one special blog by "keyword blogurl:http://blogurl/". For the blogger. It is better than Google Customize Search.

How to make one Google Blog Search Form in your blog? You need only put the below code into your blog template. And replace the variable - site with your blog url. You can download the code from http://www.codingmill.com/theforgottenmilk/download/3/

<script type="text/javascript">
function searchblogs() {
var q = document.getElementById("searchbox_googleblog_q").value;
var site = "terababy.blogspot.com";
var href = "http://blogsearch.google.com/blogsearch?hl=en&newwindow=1&safe=off&rls=org.mozilla%3Aen-US%3Aofficial&amp;amp;amp;amp;ie=UTF-8&oe=UTF-8&um=1&tab=wb&oi=revisions_inline&resnum=0&ct=property-revision&cd=1&q=" + q+ "+blogurl%3Ahttp%3A%2F%2F" + site + "%2F&btnG=Search+Blogs";
window.open (href , ‘_blank’);
}
</script>

<form id="searchbox_googleblog" onsubmit="javascript:searchblogs();return false;">
<input id="searchbox_googleblog_q" style="margin: 4px 0 0 1px;padding: 1px 0 0 2px;border: 2px solid #919191;width=120px;height=16px; " name="q" type="text"/>
<input value="Search" name="sa" onclick="javascript:searchblogs();" type="button"/>
</form>

For example, you can search my articles in the head of my blog.


Share this: del.icio.us Digg Furl Reddit BlinkList blogmarks Google Ma.gnolia Netscape Newsvine Simpy Spurl StumbleUpon Technorati Windows Live Yahoo!

Related Post




Page 1 of 3123»