1 / 18

UNIVERSIDAD NACIONAL DE INGENIERIA

FACULTAD DE INGENIERIA INDUSTRIAL Y DE SISTEMAS PROTOTIPO, CODIFICACION DEL SISTEMA Y CONECTIVIDAD DB MBA Ing. Carlos Zorrilla Vargas. UNIVERSIDAD NACIONAL DE INGENIERIA. Existen varios modelos para llegar a la construcción final de un producto de software.

sidney
Télécharger la présentation

UNIVERSIDAD NACIONAL DE INGENIERIA

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. FACULTAD DE INGENIERIA INDUSTRIAL Y DE SISTEMAS PROTOTIPO, CODIFICACION DEL SISTEMA Y CONECTIVIDAD DB MBA Ing. Carlos Zorrilla Vargas UNIVERSIDAD NACIONAL DE INGENIERIA

  2. Existen varios modelos para llegar a la construcción final de un producto de software. • En la ingeniería de software es importante que el producto sea de calidad, confiable y cumpla con satisfacer la necesidades del cliente. MODELO BASADO EN PROTOTIPO Ejemplar original o primer molde que sirviera como mecanismo para identificar los requisitos del software.

  3. Es recomendado cuando los requerimientos no son conocidos al principio. • Los usuarios lo aprueban y añaden requerimientos. • Se hacen sistemas complejos. • Reduce tiempo y costos. PROTOTIPO

  4. Ejemplo de Prototipo

  5. Ejemplo de Prototipo (continuación)

  6. Ejemplo de Prototipo (continuación)

  7. Ejemplo de Prototipo (continuación)

  8. Ejemplo de Prototipo (continuación)

  9. Ejemplo de Prototipo (continuación)

  10. Es un sistema de señales que se utilizan para representar letras o números en la transmisión de mensajes • código informático  - La disposición simbólica de los datos o instrucciones en un programa de ordenador o el conjunto de tales instrucciones. CODIFICACION DEL SISTEMA

  11. Java • C • C++ • C# • PHP • Visual Basic • Cobol • Java Script Lenguajes de Programación

  12. Transformar en código el pseudocódigo que calcula el volumen de un cilindro dados su altura y diámetro. • 1.  Inicio • 2.  Mostrar “Introduzca el diámetro, en metros” : Pedir D  • 3.  Mostrar “Introduzca la altura, en metros” : Pedir H  • 4.  R = D/2 : Pi = 3,141593 • 5.  V = Pi * (R ^ 2) * H • 6.  Mostrar “El volumen del cilindro es de”, V, “metros cúbicos” • 7.  Fin Ejemplo de Codificación en V.B.

  13. OptionExplicit • Rem Declaración de variables • Const Pi As Single = 3.141592654 • Dim R!, H!, V As Single • Rem Contenido del formulario • Private Sub Form_Load() • Form1.Caption = "Cálculo volumen cilindro" • CommandCalcular.Caption = "Calcular Volumen" • Label1(0).Caption = "Introduzca aquí el diámetro, en metros" • Label1(1).Caption = "Introduzca aquí la altura, en metros" • End Sub • Rem Cálculo y muestra resultados • Private Sub CommandCalcular_Click() • R = Val(Text1) / 2 • H = Val(Text2) • V = Pi * (R ^ 2) * H • Label2.FontSize = 10 • Label2.FontBold = True • Label2.Alignment = 2 • Label2 = "El volumen del cilindro es de " & V & " metros cúbicos" • End Sub CODIFICACION DEL SISTEMA

  14. Componente Arquitectura de servicios abiertos • Interfaz para acceder a los datos en diferentes entornos • Define una API común para acceder a diferentes BD • Cada SGBD tiene su propia API • Destacan ODBC, IDAPI •  Componentes reutilizables, conectividad abierta CONECTIVIDAD BASE DATOS

  15. Autenticación de Windows, SQL Server • ADO.NET • Data Source = ServidorSQL; Initial Catalog = BaseDatos; Integrated Security = True • Data Source = ServidorSQL; initialcatalog = BaseDatos; user id = Usuario; password = Contraseña Cadena de Conexión a SQL Server

  16. ImportsSystem.Data • ImportsSystem.Data.SqlClient • DimsCnn As String • sCnn = "data source = ServidorSQL; initialcatalog = BaseDatos; user id = Usuario; password = Contraseña" • Dim sSel As String = "SELECT * FROM NombreTabla“ • Dim da As SqlDataAdapter • Dimdt As NewDataTable • Try • da = New SqlDataAdapter(sSel, sCnn) • da.Fill(dt) • Me.GridView1.DataSource = dt • Me.GridView1.DataBind() • LabelInfo.Text = String.Format("Total datos en la tabla: {0}", dt.Rows.Count) • Catch ex As Exception • LabelInfo.Text = "Error: " & ex.Message • End Try Cadena de Conexión Data Adapter

  17. Muchas Gracias

More Related