Hola Contrabandistes!!
Ja teniu a la secció de fotos les del Mig any. Hi han prou, així que apreteu baix i aneu passant de pàgina. qui les vuiga en tamany gran i millor qualitat que me les demane.
La pròxima ja són festes!!! O montem un sopar d'eixos de comboi i au.
Aleeeeeee joveeeees!!!!
lunes, 11 de febrero de 2008
viernes, 18 de enero de 2008
Visual Basic Lesson 11
Hello again!!
In this lesson we'll talk about handling exceptions.
An exception is something unexpected that happens when you are executing your application, it means, a special event that is raised by a method when it encounters a condition that it cannot recover from or continue to execute as a result of.
Each class (method), decides when to raise an exception, and which exception it will raise.
It is usually done becouse of invalid data.
Current state will be saved in a predefined location and execution will switch to a predefined handler. Depending on the situation, the handler may later resume the execution at the original location, using the saved information to restore the original state.
From the processing point of view, hardware interrupts are similar to resumable exceptions, although they are usually not related to the current program flow.
Raising an exception is a useful way to signal that the routine could not execute normally, for example when its input arguments are invalid (a zero denominator in division) or when a resource it relies on is unavailable (a missing file, or a disk error).
In this lesson we'll talk about handling exceptions.
An exception is something unexpected that happens when you are executing your application, it means, a special event that is raised by a method when it encounters a condition that it cannot recover from or continue to execute as a result of.
Each class (method), decides when to raise an exception, and which exception it will raise.
It is usually done becouse of invalid data.
Current state will be saved in a predefined location and execution will switch to a predefined handler. Depending on the situation, the handler may later resume the execution at the original location, using the saved information to restore the original state.
From the processing point of view, hardware interrupts are similar to resumable exceptions, although they are usually not related to the current program flow.
Raising an exception is a useful way to signal that the routine could not execute normally, for example when its input arguments are invalid (a zero denominator in division) or when a resource it relies on is unavailable (a missing file, or a disk error).
Visual Basic Lesson 10
In this lesson, we'll talk about XML, and how to work with it.
XML stands for estensible markuo language.
It is similar to HTML becouse of its use of tags <>,..., but it also has lots of differences.
XML contains self-describing structured data, but omits presentation information.
It is used to store or transfer data between disparate computing platforms , operating systems, software applications..
It's an open standard, as opposed to a propietary data format, and is used commonly in .NET framework.
XML allows working with data, which can be stored on your local hard drive.
It is also used on RSS feeds, which nowadays is very important.
Then, the video continues with an example.
XML stands for estensible markuo language.
It is similar to HTML becouse of its use of tags <>,..., but it also has lots of differences.
XML contains self-describing structured data, but omits presentation information.
It is used to store or transfer data between disparate computing platforms , operating systems, software applications..
It's an open standard, as opposed to a propietary data format, and is used commonly in .NET framework.
XML allows working with data, which can be stored on your local hard drive.
It is also used on RSS feeds, which nowadays is very important.
Then, the video continues with an example.
That is because the XML language has no predefined tags.
The tags used in HTML (and the structure of HTML) are predefined. HTML documents can only use tags defined in the HTML standard.
XML allows the author to define his own tags and his own document structure.
It is important to understand that XML is not a replacement for HTML. In most web applications, XML is used to transport data, while HTML is used to format and display the data.martes, 15 de enero de 2008
Visual Basic Lesson 8
In this lesson we will learn how to work with databases and VB.
First of all we will learn what a database is.
A database is a file structured for the repository of data, and organized for easy retrival, sorting, grouping or relating for other data.
Why do we use databases? we use them becouse is easly manageable and data is easy to relate.
In this lesson we will use SQL server, which is a high end relational database management system.
We will use also RDBMS, which stands to Relational DataBase Management System.
Relational Database theory is irganizing data into tales that can be related together, increasing the integrity of the data.
Normalization is the process of determinig what information belongs in which tables to minimize redundancy and increase integrity.
Let's get into databases.
Databases have lots of objects such as tables, which are formed by rows and columns. The value of a single column and row is called field.
We need to define which data type will be the one used in our database, and the maximum size of the data.
Data integrity is, as you may kow, the ability of keeping data valid, of the correct data type so that it is usable for its intended purpose.
Then, we are going to define some properties.
A key is a field or combination of fields that make a given row unique in the database. Keys relate two tables to each other. Foreign keys relate one or more rows in more tha one table.
The identity column is an attribute tat will automatically increment a field of data in each succesive row added to the database .
Then it shows how to create a database using VB 2005, explaining also how to look at it an make some operations.
So this is the end of lesson 8. Let's go to the longest, lesson 9. See you soon!
First of all we will learn what a database is.
A database is a file structured for the repository of data, and organized for easy retrival, sorting, grouping or relating for other data.
Why do we use databases? we use them becouse is easly manageable and data is easy to relate.
In this lesson we will use SQL server, which is a high end relational database management system.
We will use also RDBMS, which stands to Relational DataBase Management System.
Relational Database theory is irganizing data into tales that can be related together, increasing the integrity of the data.
Normalization is the process of determinig what information belongs in which tables to minimize redundancy and increase integrity.
Let's get into databases.
Databases have lots of objects such as tables, which are formed by rows and columns. The value of a single column and row is called field.
We need to define which data type will be the one used in our database, and the maximum size of the data.
Data integrity is, as you may kow, the ability of keeping data valid, of the correct data type so that it is usable for its intended purpose.
Then, we are going to define some properties.
A key is a field or combination of fields that make a given row unique in the database. Keys relate two tables to each other. Foreign keys relate one or more rows in more tha one table.
The identity column is an attribute tat will automatically increment a field of data in each succesive row added to the database .
Then it shows how to create a database using VB 2005, explaining also how to look at it an make some operations.
So this is the end of lesson 8. Let's go to the longest, lesson 9. See you soon!
lunes, 14 de enero de 2008
Visual Basic Lesson 7
In This lesson we'll learn something about .NET Framework and everything, including classes, that it involves.
.Net Framework has a lot of classes with methods we can use to develop our applications.
.Net Runtime host is where your applications run, manages permissions granted to applications and provides a common system of data types. It also manages the memory, like a trash collector.
.Net related utilities are a collection of various and sundry applications that perform a wide varyety of tasks.
Then it talks about how .Net applications work.Visual Basic source Code is compiled into a .Net Assembly which contains ntermediate Language. When the assembly is executed for the first time on a new computer, the IL will be compiled into machine language optimized for that computer's configuration.
After compilation on the end user's machine, the Assembly will be loaded into the .Net Framework Runtime Host.
After an example, it talks about Namespaces, which allow you to avoid naming conflicts between 2 classes that have the same name.
And this is the end of this lesson. It has been the one with more theory, and I couldn't practice anything. Yes, believe it or not, i'm practising everything....
.Net Framework has a lot of classes with methods we can use to develop our applications.
.Net Runtime host is where your applications run, manages permissions granted to applications and provides a common system of data types. It also manages the memory, like a trash collector.
.Net related utilities are a collection of various and sundry applications that perform a wide varyety of tasks.
Then it talks about how .Net applications work.Visual Basic source Code is compiled into a .Net Assembly which contains ntermediate Language. When the assembly is executed for the first time on a new computer, the IL will be compiled into machine language optimized for that computer's configuration.
After compilation on the end user's machine, the Assembly will be loaded into the .Net Framework Runtime Host.
After an example, it talks about Namespaces, which allow you to avoid naming conflicts between 2 classes that have the same name.
And this is the end of this lesson. It has been the one with more theory, and I couldn't practice anything. Yes, believe it or not, i'm practising everything....
Visual Basic Lesson 6
Hello again!!
Visual Basic 2005 is an Object Oriented Programming Language.
The advantages of being an OO are things like the abilities of simplify application development, relates code objects to real world objects and creates more flexible applications.
First of all, we'll learn about classes, which are 'recipes' for an object.
Objects are instances of a class. You can create many objects from a class, each object having some different property values, but still undeniably created from the same class.
Then, it shows an example of two buttons.Both are buttons, but they have different properties.
Afterwards, we are going to create a new class called car and we will make an instance of it called MyCar.
Properties are attibutes of our class. Each instance of our class can have different property values, but they all share the property definitions.
Then the video continues showing the teacher performing some actions and 'playing' with the clases.
Classes not only define properties, but also define methods, which are actions that can be performed by our classes.
Finally, we'll create a metod called DRIVE to our class (car).
Let's continue with the second part of the video....
The second part stats remembering what we have done in the first one.
Now we're going to talk about constructors.
A Constructor is a special method that executes each time a new instance of a class is created.
you must use constructors to initialize the state of a new object.
Then it shows you how to define a constructor.
Finished this, the video explains you what overloading is.
overloading allows you providing more than one method with the same name, but with different method signatures, which are the numbers and data types of the parameters that a method allows.
We have to take care when we instance a class, becouse of the Hierarchy, which means that a class takes the properties and methods of the super class.
Then, we'll see what encapsulation is.
Encapsulation is a tennet of an OOP that suggests that it is better to only make available those methods and properties of a class which are absolutely necessary for the consumer of a class to access.
And this is the end of Lesson 6.
This is like being in class with Jordi talking about classes, Hierarchy... I already know this!!!
Visual Basic 2005 is an Object Oriented Programming Language.
The advantages of being an OO are things like the abilities of simplify application development, relates code objects to real world objects and creates more flexible applications.
First of all, we'll learn about classes, which are 'recipes' for an object.
Objects are instances of a class. You can create many objects from a class, each object having some different property values, but still undeniably created from the same class.
Then, it shows an example of two buttons.Both are buttons, but they have different properties.
Afterwards, we are going to create a new class called car and we will make an instance of it called MyCar.
Properties are attibutes of our class. Each instance of our class can have different property values, but they all share the property definitions.
Then the video continues showing the teacher performing some actions and 'playing' with the clases.
Classes not only define properties, but also define methods, which are actions that can be performed by our classes.
Finally, we'll create a metod called DRIVE to our class (car).
Let's continue with the second part of the video....
The second part stats remembering what we have done in the first one.
Now we're going to talk about constructors.
A Constructor is a special method that executes each time a new instance of a class is created.
you must use constructors to initialize the state of a new object.
Then it shows you how to define a constructor.
Finished this, the video explains you what overloading is.
overloading allows you providing more than one method with the same name, but with different method signatures, which are the numbers and data types of the parameters that a method allows.
We have to take care when we instance a class, becouse of the Hierarchy, which means that a class takes the properties and methods of the super class.
Then, we'll see what encapsulation is.
Encapsulation is a tennet of an OOP that suggests that it is better to only make available those methods and properties of a class which are absolutely necessary for the consumer of a class to access.
And this is the end of Lesson 6.
This is like being in class with Jordi talking about classes, Hierarchy... I already know this!!!
Visual Basic Lesson 5
Hello again!
In this Video we'll know something about Branching Statements,arrays and recursion statements.
The most important are:
Branching Statements - If..then and the select Case.
Arrays - Very usual.
Recursion statements - For each, for...next and Do while loop.
We will create a new project called lesson 5 , and we'll add some buttons and text boxes as usual.
Branching statements allows you to whether or not execute a block of code based on an evaluation of an expression.
The sentence if...else is very simple. If the sentence after if is evaluated to true, the following code will be executed,if not, the code after then will be executed.
The case selection is also very easy, it's just like a menu, and the code executed will be the one we select, or the one that makes a true expression.
An array is a type of collection that allows you to group together a group af values that have something in common.
All the items in the array must have the same data type.
The use of an array is like in every other programming language.
For each statement allows us to perform an action to all the items we select.
The do...while loop is used to execute a block of code only if an action we have defined before is evaluated to true.
We can embed the number of loops,arraysor branching statements that we want, combining them to have a complex applicaton.
Let's go to lesson 6!!
In this Video we'll know something about Branching Statements,arrays and recursion statements.
The most important are:
Branching Statements - If..then and the select Case.
Arrays - Very usual.
Recursion statements - For each, for...next and Do while loop.
We will create a new project called lesson 5 , and we'll add some buttons and text boxes as usual.
Branching statements allows you to whether or not execute a block of code based on an evaluation of an expression.
The sentence if...else is very simple. If the sentence after if is evaluated to true, the following code will be executed,if not, the code after then will be executed.
The case selection is also very easy, it's just like a menu, and the code executed will be the one we select, or the one that makes a true expression.
An array is a type of collection that allows you to group together a group af values that have something in common.
All the items in the array must have the same data type.
The use of an array is like in every other programming language.
For each statement allows us to perform an action to all the items we select.
The do...while loop is used to execute a block of code only if an action we have defined before is evaluated to true.
We can embed the number of loops,arraysor branching statements that we want, combining them to have a complex applicaton.
Let's go to lesson 6!!
Suscribirse a:
Comentarios (Atom)