SlideShare ist ein Scribd-Unternehmen logo
1 von 15
Downloaden Sie, um offline zu lesen
GAMBAS
   ALMOST
    MEANS
    BASIC
http://gambas.sourceforge.net
A Development Environment
            Inspired By JAVA™ And Visual Basic™


                           LINUX



     JAVA            GAMBAS                 Visual Basic™


Abstraction          ALMOST                Consistency

     QT
                      MEANS                    OpenGL

                      BASIC
              GTK+                       SDL

                      Simplification
Gambas History
  Developed by the French programmer Benoît Minisini
  First release coming in 1999
  Gambas 1.x versions featured an interface made up
  ➢ Fimilar fashion to the interface of the GIMP
  ➢ only develop applications using Qt
  ➢ oriented towards the development of applications for

       KDE
  ➢ The last release is Gambas 1.0.19

  Gambas 2.x was released on 02 January 2008
➢ It featured a major redesign of the interface
➢ Gambas 2.x versions can load up and run Gambas 1.x
    projects
➢ use GTK+ for drawing or utilize OpenGL acceleration
➢ The Stable Version & Using Now 2.23.1 (27 May 2011)
  Gambas 3 RC was released on 27 May 2011
WHAT IS IN?

              An Object-Oriented Language
                 A Full BASIC Language
Public or Private Symbols
Datatypes Static Symbols
Dynamic or And Easy Development Environment
     A Modern
ControlInheritance
Simple Structures
Error Management
Polymorphism
Syntax Highlighting
Inputs – Outputs
Properties
Automatic Completion
String Management
Events
GUI Form Editor
Arithmetical & Logical Functions
Constructor Destructor
Code Source/ Translator
File Management
Special Methods
Integrated Debugger
Date Explorer
No Garbage Management
Help & Time Collector
Charset Conversion Functions
Event Observers
Process Management
Native Classes
Exportable Classes
COMPONENTS
                     Extensible Language
gb.compress      ► Compress / Uncompress
gb.corba         ► COBRA Client
gb.crypt         ► DES / MD5 Crypting
gb.db            ► Database Acces
gb.gtk           ► GTK + Graphical Toolkit
gb.ldap          ► LDAP Client
gb.net           ► Networking
gb.opengl        ► OpenGL Library
gb.pcre          ► Regular Expressions
gb.pdf           ► PDF Rendering
gb.qt            ► QT Graphical Toolkit
gb.qt.kde        ► KDE Integration
gb.qt.kde.html   ► Internet Browser
gb.sdl           ► SDL Library (image, sound & etc)
gb.v4l           ► Video For Linux Library
gb.xml           ► XML / XSLT API
VISUAL BASIC™ PROJECT

                        Form Binary Data N/D ◄Can Be Guessed (Sometimes)
      Project
    Source Code                                       BUGS
                        Text Files                                         BUGS
                                         ACTIVE-X             ACTIVE-X
                                       COMPONENTS            CONTROLS
    COMPILER



               N/D          BUGS
                                                                    WINDOWS
   VISUAL-BASIC
                                     INTERPRETER                     SHARED
      Bytecode
                                                                    LIBRARIES

                                Active-X Automation




                                Windows Applications
N/D = Not Documented
GAMBAS PROJECT

                       Data Files
      Project
    Source Code
                       Text Files
                                      COMPONENTS     COMPONENTS
                                       WRITTEN IN     WRITTEN IN
                                        GAMBAS          C/C++
    COMPILER



                                     BUGS
      GAMBAS                                            GNU COMMAND
                                    INTERPRETER
      Bytecode                                          LINE & UTILITIES


                             DCOP            DBUS




N/D = Not Documented        Gnome/KDE Applications
APPLICATION INTERFACE
             VISUAL BASIC VS GAMBAS




                  Non-Language-Specific Differences
   Type of file                  Visual Basic            Gambas
Project definition file   .vbp                  .project

Module                    .bas                  .module

Class file                .cls                  .class

Form definition file      .frm                  .form

Binary resource files     .frx                  Any other files Stored
PROGRAMMING LANGUAGE
                      GAMBAS VS VISUAL BASIC
              VISUAL BASIC 6                                  GAMBAS 2

VERSION 5.00                              ' Gambas class file
Begin VB.Form Form1                       ' This is for Note. Please Use (') To Start Your Note
  BorderStyle = 1 'Fixed Single
  Caption      = "Simple Calc"
End                                       PUBLIC SUB _new()
Begin VB.CommandButton CmdDarab           Form.AutoResize = FALSE
     Caption      = "X"
     Height      = 375                    END
     Left      = 120
     TabIndex      = 3                    PUBLIC SUB Form_Open()
     Top        = 1200                    ME.Center
     Width       = 375                    Form.Maximized = FALSE
  End                                     END
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False      PUBLIC SUB Darab_Click()
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True         LblOPS.Caption = "Darab"
Attribute VB_Exposed = False
Private Sub CmdDarab_Click()              InNo3.Text = InNo1.Text * InNo2.Text
On Error GoTo ErrorHandler
  LblOPS.Caption = "Darab"                CATCH
  InNo3.Text = InNo1 * InNo2              Error.Clear
  Exit Sub                                LblOPS.Caption = "Kesilapan Pengguna"
ErrorHandler:                             InNo3.Text = "Kesilapan Pengguna"
  LblOPS.Caption = "Kesilapan Pengguna"
  TxtJaw.Text = "Kesilapan Pengguna"      END
  Resume Next
End Sub
WHY NOT USING GAMBAS?

   Writing It's Own Language Is Funny & Exciting
   Easy To Learn With Something Visual, Easy & Basic
   Development Environment Is Easy To Use
   Fast To Development Something Simple Application/Software
   An Object-oriented Language
   Components Are Designed To Be As Simple & Coherent As
Possible
   You Can Write Software That Is Independent From The Graphical
   Toolkit & The Underlaying Database Management System
   Good To Teach At University As Basic Programming Language
   To Make The Power Of GNU/Linux Libraries Easily Accessible
   Last, But Not Least : GNU/Linux Is Free, Powerful, Secure & Cool
THE GAMBAS FUTURE

✔ New Development Environment
✔ QT & QTK+ Components Completed
✔ Controls Bound To Data Sources
✔ Report Designer
✔ DBUS Protocol
✔ Making Web Applications
✔ Help Porting Visual Basic™ Applications
✔ Object Persistence System
✔ And Many Moore..



     Thank For Your Time To


   Viewing Facility in Gambas
Thank To...



Benoît Minisini , Mark Alexander Bain, Adolf J Winterer,
              Google, Wikipedia And All...

Weitere ähnliche Inhalte

Ähnlich wie Gambas mosc 2011 slide

Meiga Guadec 2009 English
Meiga Guadec 2009 EnglishMeiga Guadec 2009 English
Meiga Guadec 2009 Englisheocanha
 
GR8Conf 2011: Adopting Grails
GR8Conf 2011: Adopting GrailsGR8Conf 2011: Adopting Grails
GR8Conf 2011: Adopting GrailsGR8Conf
 
Adopting Grails - GR8Conf Europe
Adopting Grails - GR8Conf EuropeAdopting Grails - GR8Conf Europe
Adopting Grails - GR8Conf EuropeKlausBaumecker
 
Yahoo! On Microsoft .NET 3.0 and Microsoft Expression
Yahoo! On Microsoft .NET 3.0 and Microsoft ExpressionYahoo! On Microsoft .NET 3.0 and Microsoft Expression
Yahoo! On Microsoft .NET 3.0 and Microsoft Expressiongoodfriday
 
Visual basic
Visual basicVisual basic
Visual basicDharmik
 
Java Chapter 2 Overview.ppt
Java Chapter 2 Overview.pptJava Chapter 2 Overview.ppt
Java Chapter 2 Overview.pptMiltonMolla1
 
Java Chapter 2 Overview.ppt
Java Chapter 2 Overview.pptJava Chapter 2 Overview.ppt
Java Chapter 2 Overview.pptMiltonMolla1
 
Minko stage3d 20130222
Minko stage3d 20130222Minko stage3d 20130222
Minko stage3d 20130222Minko3D
 
WebGL games with Minko - Next Game Frontier 2014
WebGL games with Minko - Next Game Frontier 2014WebGL games with Minko - Next Game Frontier 2014
WebGL games with Minko - Next Game Frontier 2014Minko3D
 
Jalimo Slides Linuxtag2007 (English)
Jalimo Slides Linuxtag2007 (English)Jalimo Slides Linuxtag2007 (English)
Jalimo Slides Linuxtag2007 (English)smancke
 
Programming In Linux Presentation
Programming In Linux PresentationProgramming In Linux Presentation
Programming In Linux Presentationdanyal.khashabi
 
JavaScript as Development Platform
JavaScript as Development PlatformJavaScript as Development Platform
JavaScript as Development PlatformAlexei Skachykhin
 
Keynote Rockford Lhotka on the Microsoft Development Platftorm
Keynote   Rockford Lhotka on the Microsoft Development PlatftormKeynote   Rockford Lhotka on the Microsoft Development Platftorm
Keynote Rockford Lhotka on the Microsoft Development PlatftormCode Mastery
 
Dotnet ch1
Dotnet ch1Dotnet ch1
Dotnet ch1007laksh
 

Ähnlich wie Gambas mosc 2011 slide (20)

Meiga Guadec 2009 English
Meiga Guadec 2009 EnglishMeiga Guadec 2009 English
Meiga Guadec 2009 English
 
Droidcon - Unify Insights
Droidcon - Unify InsightsDroidcon - Unify Insights
Droidcon - Unify Insights
 
air
airair
air
 
GR8Conf 2011: Adopting Grails
GR8Conf 2011: Adopting GrailsGR8Conf 2011: Adopting Grails
GR8Conf 2011: Adopting Grails
 
Adopting Grails - GR8Conf Europe
Adopting Grails - GR8Conf EuropeAdopting Grails - GR8Conf Europe
Adopting Grails - GR8Conf Europe
 
Yahoo! On Microsoft .NET 3.0 and Microsoft Expression
Yahoo! On Microsoft .NET 3.0 and Microsoft ExpressionYahoo! On Microsoft .NET 3.0 and Microsoft Expression
Yahoo! On Microsoft .NET 3.0 and Microsoft Expression
 
Visual basic
Visual basicVisual basic
Visual basic
 
Java Chapter 2 Overview.ppt
Java Chapter 2 Overview.pptJava Chapter 2 Overview.ppt
Java Chapter 2 Overview.ppt
 
Java Chapter 2 Overview.ppt
Java Chapter 2 Overview.pptJava Chapter 2 Overview.ppt
Java Chapter 2 Overview.ppt
 
Deep Dive into WinRT
Deep Dive into WinRTDeep Dive into WinRT
Deep Dive into WinRT
 
Minko stage3d 20130222
Minko stage3d 20130222Minko stage3d 20130222
Minko stage3d 20130222
 
Embarcadero C++Builder XE3 Datasheet
Embarcadero C++Builder XE3 DatasheetEmbarcadero C++Builder XE3 Datasheet
Embarcadero C++Builder XE3 Datasheet
 
WebGL games with Minko - Next Game Frontier 2014
WebGL games with Minko - Next Game Frontier 2014WebGL games with Minko - Next Game Frontier 2014
WebGL games with Minko - Next Game Frontier 2014
 
Jalimo Slides Linuxtag2007 (English)
Jalimo Slides Linuxtag2007 (English)Jalimo Slides Linuxtag2007 (English)
Jalimo Slides Linuxtag2007 (English)
 
Programming In Linux Presentation
Programming In Linux PresentationProgramming In Linux Presentation
Programming In Linux Presentation
 
JavaScript as Development Platform
JavaScript as Development PlatformJavaScript as Development Platform
JavaScript as Development Platform
 
Mobile stategy
Mobile stategyMobile stategy
Mobile stategy
 
Compilers
CompilersCompilers
Compilers
 
Keynote Rockford Lhotka on the Microsoft Development Platftorm
Keynote   Rockford Lhotka on the Microsoft Development PlatftormKeynote   Rockford Lhotka on the Microsoft Development Platftorm
Keynote Rockford Lhotka on the Microsoft Development Platftorm
 
Dotnet ch1
Dotnet ch1Dotnet ch1
Dotnet ch1
 

Kürzlich hochgeladen

Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 

Kürzlich hochgeladen (20)

Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 

Gambas mosc 2011 slide

  • 1.
  • 2. GAMBAS ALMOST MEANS BASIC http://gambas.sourceforge.net
  • 3. A Development Environment Inspired By JAVA™ And Visual Basic™ LINUX JAVA GAMBAS Visual Basic™ Abstraction ALMOST Consistency QT MEANS OpenGL BASIC GTK+ SDL Simplification
  • 4. Gambas History Developed by the French programmer Benoît Minisini First release coming in 1999 Gambas 1.x versions featured an interface made up ➢ Fimilar fashion to the interface of the GIMP ➢ only develop applications using Qt ➢ oriented towards the development of applications for KDE ➢ The last release is Gambas 1.0.19 Gambas 2.x was released on 02 January 2008 ➢ It featured a major redesign of the interface ➢ Gambas 2.x versions can load up and run Gambas 1.x projects ➢ use GTK+ for drawing or utilize OpenGL acceleration ➢ The Stable Version & Using Now 2.23.1 (27 May 2011) Gambas 3 RC was released on 27 May 2011
  • 5. WHAT IS IN? An Object-Oriented Language A Full BASIC Language Public or Private Symbols Datatypes Static Symbols Dynamic or And Easy Development Environment A Modern ControlInheritance Simple Structures Error Management Polymorphism Syntax Highlighting Inputs – Outputs Properties Automatic Completion String Management Events GUI Form Editor Arithmetical & Logical Functions Constructor Destructor Code Source/ Translator File Management Special Methods Integrated Debugger Date Explorer No Garbage Management Help & Time Collector Charset Conversion Functions Event Observers Process Management Native Classes Exportable Classes
  • 6. COMPONENTS Extensible Language gb.compress ► Compress / Uncompress gb.corba ► COBRA Client gb.crypt ► DES / MD5 Crypting gb.db ► Database Acces gb.gtk ► GTK + Graphical Toolkit gb.ldap ► LDAP Client gb.net ► Networking gb.opengl ► OpenGL Library gb.pcre ► Regular Expressions gb.pdf ► PDF Rendering gb.qt ► QT Graphical Toolkit gb.qt.kde ► KDE Integration gb.qt.kde.html ► Internet Browser gb.sdl ► SDL Library (image, sound & etc) gb.v4l ► Video For Linux Library gb.xml ► XML / XSLT API
  • 7. VISUAL BASIC™ PROJECT Form Binary Data N/D ◄Can Be Guessed (Sometimes) Project Source Code BUGS Text Files BUGS ACTIVE-X ACTIVE-X COMPONENTS CONTROLS COMPILER N/D BUGS WINDOWS VISUAL-BASIC INTERPRETER SHARED Bytecode LIBRARIES Active-X Automation Windows Applications N/D = Not Documented
  • 8. GAMBAS PROJECT Data Files Project Source Code Text Files COMPONENTS COMPONENTS WRITTEN IN WRITTEN IN GAMBAS C/C++ COMPILER BUGS GAMBAS GNU COMMAND INTERPRETER Bytecode LINE & UTILITIES DCOP DBUS N/D = Not Documented Gnome/KDE Applications
  • 9. APPLICATION INTERFACE VISUAL BASIC VS GAMBAS Non-Language-Specific Differences Type of file Visual Basic Gambas Project definition file .vbp .project Module .bas .module Class file .cls .class Form definition file .frm .form Binary resource files .frx Any other files Stored
  • 10.
  • 11.
  • 12. PROGRAMMING LANGUAGE GAMBAS VS VISUAL BASIC VISUAL BASIC 6 GAMBAS 2 VERSION 5.00 ' Gambas class file Begin VB.Form Form1 ' This is for Note. Please Use (') To Start Your Note BorderStyle = 1 'Fixed Single Caption = "Simple Calc" End PUBLIC SUB _new() Begin VB.CommandButton CmdDarab Form.AutoResize = FALSE Caption = "X" Height = 375 END Left = 120 TabIndex = 3 PUBLIC SUB Form_Open() Top = 1200 ME.Center Width = 375 Form.Maximized = FALSE End END Attribute VB_Name = "Form1" Attribute VB_GlobalNameSpace = False PUBLIC SUB Darab_Click() Attribute VB_Creatable = False Attribute VB_PredeclaredId = True LblOPS.Caption = "Darab" Attribute VB_Exposed = False Private Sub CmdDarab_Click() InNo3.Text = InNo1.Text * InNo2.Text On Error GoTo ErrorHandler LblOPS.Caption = "Darab" CATCH InNo3.Text = InNo1 * InNo2 Error.Clear Exit Sub LblOPS.Caption = "Kesilapan Pengguna" ErrorHandler: InNo3.Text = "Kesilapan Pengguna" LblOPS.Caption = "Kesilapan Pengguna" TxtJaw.Text = "Kesilapan Pengguna" END Resume Next End Sub
  • 13. WHY NOT USING GAMBAS? Writing It's Own Language Is Funny & Exciting Easy To Learn With Something Visual, Easy & Basic Development Environment Is Easy To Use Fast To Development Something Simple Application/Software An Object-oriented Language Components Are Designed To Be As Simple & Coherent As Possible You Can Write Software That Is Independent From The Graphical Toolkit & The Underlaying Database Management System Good To Teach At University As Basic Programming Language To Make The Power Of GNU/Linux Libraries Easily Accessible Last, But Not Least : GNU/Linux Is Free, Powerful, Secure & Cool
  • 14. THE GAMBAS FUTURE ✔ New Development Environment ✔ QT & QTK+ Components Completed ✔ Controls Bound To Data Sources ✔ Report Designer ✔ DBUS Protocol ✔ Making Web Applications ✔ Help Porting Visual Basic™ Applications ✔ Object Persistence System ✔ And Many Moore.. Thank For Your Time To Viewing Facility in Gambas
  • 15. Thank To... Benoît Minisini , Mark Alexander Bain, Adolf J Winterer, Google, Wikipedia And All...