Author Archives: syoungsite

Python

 

Python is a general purpose programming language created in the late 1980s, and named after Monty Python,

Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Python programs usually run slower than Java programs, but they also take much less time to develop. Python programs are typically 3-5 times shorter than equivalent Java programs.

Python’s “object-based” subset is sort of equivalent to JavaScript. Like JavaScript , Python supports a programming style that uses simple functions and variables without engaging in class definitions.Python supports writing much larger programs and better code reuse through a true object-oriented programming style.

There is a lot of useful information at http://arstechnica.com/uncategorized/2008/12/getting-a-grip-on-python-six-ways-to-learn-online/ .

Python is easy to learn. Python also requires less code to complete basic tasks. Python very closely resembles the English language. Python has a set of rules, known as PEP 8, that tell every Python developer how to format their code.

Python is used in many application domains. Python can be used for any programming task. PaintShop Pro uses Python scripting.  Eve-Online is a Massively Multiplayer Online Role Playing Game (MMORPG) that relies heavily on Python for both the client and server ends of the game. Python is used in the production process for scripting complex, computer graphic-intensive films.

It is used so widely and to me it is the best programming language.

 

 

Advertisements

HTML5

HTML5 is a markup language used for structuring and presenting content on the World Wide Web. It was finalized, and published, on 28 October 2014 by the World Wide Web Consortium (W3C). This is the fifth revision of the HTML standard since the inception of the World Wide Web. HTML5 is supported in all modern browsers.

The most interesting new elements are:

New semantic elements like <header>, <footer>, <article>, and <section>.

New form control attributes like number, date, time, calendar, and range.

New graphic elements: <svg> and <canvas>.

New multimedia elements: <audio> and <video>.

The graphic elements are so cool. SVG is a language for describing 2D graphics in XML. Canvas is rendered pixel by pixel. SVG has several methods for drawing paths, boxes, circles, text, and graphic images.You can pick which you like best. Here is a chart to show the differences.

Canvas SVG
  • Resolution dependent
  • No support for event handlers
  • Poor text rendering capabilities
  • You can save the resulting image as .png or .jpg
  • Well suited for graphic-intensive games
  • Resolution independent
  • Support for event handlers
  • Best suited for applications with large rendering areas (Google Maps)
  • Slow rendering if complex (anything that uses the DOM a lot will be slow)
  • Not suited for game applications

The canvas is great for graphics and animation. I have included a you tube video link below to show how it all works.

https://www.youtube.com/watch?v=JO2G0ot5Luk

CSS3

CSS3 is the latest standard for CSS. CSS3 is completely backwards-compatible with earlier versions of CSS. Most of the new CSS3 properties are implemented in modern browsers.

Some of the best CSS3 modules are:

  • Backgrounds and Borders
  • Image Values and Replaced Content
  • Text Effects
  • 2D/3D Transformations
  • Animations
  • Multiple Column Layout
  • User Interface

I used the rounded corners style. It made the words really shine. You can change the background using more than one background.  The shadow effect is another great way to make something pop on your website.  Here is an example. It can be found at http://codecanyon.net/item/css3-shadow-hover-effects/6308693 .

download

You have the ability for 2d or 3d transformations. The element can rotate and spin and move how you chose. 

This can be found at http://www.slideshare.net/owenoak/css-3-overview .

The animation is truly the most fun to use. Now you do not need a flash player to have animation on a website. There is a good you-tube video that shows a lot about animation. https://www.youtube.com/watch?v=m7b4NhjxaKg .

The float property is another cool tool. The CSS float property is used to determine the position of HTML elements.Floats are often used to wrap text around images. The picture below is found at http://www.cssnewbie.com/css-float-property/ . This page explains all you ever need to know on the float property.

 

 

 

Advanced CSS

CSS stands for cascading style sheets. Advanced CSS is used to enhance colors, layout and elements of a website. You can use the float position command  to place an element anywhere we want on a page. You can use advanced css to enhance a footer on a website. All you have to do is add a new CSS style and you can change it on any page of a website. You have to make sure the you CSS is browser compatible.  Because of the differences in the way browsers support CSS, you might need to include a script on your pages that detects the browser version and uses the correct style sheet.

Image result for advanced css examples

 

 

This is how it looks. This info can be found at :  Adncanced CSS

I have used advanced CSS in my web design class. I have used the <div> tag to format sections of my webpage. It was fun to learn all the things you are able to do with advanced CSS techniques. They all make a web page stand out and flow good. That makes it easier to read which brings more people to the site. The best part to me is using animations. Everyone should try to create their own web site and use advanced CSS to make it stand out.