Noutați

Easy-to-use Orbit Simulator Built In Delphi FireMonkey For Learning Gravitational Physics

Developer Tore Ottinsen had this to say about his app Orbit Xplorer “I am a retired high school physics teacher and a hobby Delphi programmer. This is my latest physics app, written in FMX for Windows. Hoping to do a Mac version soon.” It’s a good example of how accessible Delphi is as an IDE and Object Pascal as a programming language. According to the website “Orbit Xplorer is an easy-to-use orbit simulator suitable for high school, college and university students and teachers, or anyone with an interest in physics and astronomy. For the first time you can do “lab exercises” in gravitational physics! If you are solving problems involving orbits of satellites, planets or stars it will be exciting to simulate the problem in Orbit Xplorer and compare its numerical output with your own solutions.” Orbit Xplorer makes use of FireMonkey and a good number of FireMonkey styles. Website https://www.ottisoft.com/orbit_x.html Screenshot Gallery Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder. Design. Code. Compile. Deploy.Start Free Trial   Upgrade Today    Free Delphi Community Edition   Free C++Builder Community Edition

Read More

Quickly Build iOS And Android Apps From A Single Codebase With Delphi

Building mobile phone applications is swift and enjoyable with RAD Studio. Because when you start your FireMonkey project with Delphi or C++ Builder, you do not need to create several codebases for every platform. What you can do is just define platform based code with the IfDef Conditionals. Learn more about them in the DocWiki. In this one hour session, you can learn how to create iOS and Android applications with Delphi FireMonkey. Overview Cross-Platform Native Apps FireMonkey 3D Graphics Architecture Multi-Device Form Designer Several Demo Application in Action Development Speed – Prototyping Effects and Animations 3D Forms with FireMonkey Be sure to check out the whole session and learn about Delphi FireMonkey Multi-Device Mobile Development.

Read More

Easily Download And Install A Robust Syntax Highlighter For Delphi And C++ Builder From GetIt

SynEdit for Delphi and C++ Builder. This is a highly mature syntax highlighting edit control, not based on the Windows common controls and supported on Windows. Orwell Dev-C++, Embarcadero Dev-C++, and PyScripter IDEs all use TSynEdit. Once you install this SynEdit component package to your RAD Studio you start having lots of ideas to build amazing applications. Because with SynEdit you can solve many problems in your application by just dragging and dropping the component.  What you get from SynEdit VCL: Editor with syntax highlighters AutoCorrect and AutoComplete Non-Visual Components and many more non-visual components to utilize with SynEdit How can I get this SynEdit VCL? Run the RAD Studio Open the GetIt Package Manager from the Tools menu Search “synedit” and install the package Application Ideas to build with SynEdit components Code Editor – it can be a lightweight and simple editor with tens of different syntax highlighters Programming Educational Apps – since everyone learning from home using their computers, you can create a simple and effective coding platform for kids to code and learn. You can also check out the full source code over on GitHub: TurboPack SynEdit – GitHub Get an overview of the SynEdit VCL control in GetIt and then download it from GetIt in the IDE.

Read More

Understanding OWASP ASVS

Published November 4, 2020 WRITTEN BY ED TITTEL. Ed Tittel is a long-time IT industry writer and consultant who specializes in matters of networking, security, and Web technologies. For a copy of his resume, a list of publications, his personal blog, and more, please visit www.edtittel.com or follow @EdTittel It’s always fun to start throwing out acronyms to get one’s technical juices flowing. To make sense of this blog post title, readers show know that OWASP is the Open Web Application Security Project, and that the ASVS is the Application Security Verification Standard. Of course, making sense of what this all means calls for additional explanation and more information. Let’s start with a brief backgrounder on the OWASP and follow up with a closer look at the ASVS with special emphasis on what it does and why it’s important. Introduction to the Open Web Application Security Project (OWASP) Founded in 2001, and incorporated as a US non-profit charity in 2004, the OWASP is an open community that’s focused on helping organizations design, develop, acquire, operate and maintain applications – especially web-based applications – that are secure and trustworthy. The OWASP’s reach covers a lot, including: Dozens to hundreds of community-led open-source software projects 275-plus local OWASP chapters around the globe Tens of thousands of registered OWASP members (individuals and organizations) Popular, widely-followed and -attended education/training conferences All OWASP projects, tools, documents, forums and chapters are free and open to those interested in improving application security. Overview of the Application Security Verification Standard (ASVS) The ASVS defines a basis for testing web application technical security controls (these are features or elements of an application designed to provide authentication and manage identity data, control access, provide data privacy and protection, and so forth). ASVS also equips developers with a checklist of requirements to ensure secure development practices and procedures, and to ascertain they produce secure code. As standard, the ASVS seeks to provide guidance, metrics and evaluation criteria for secure applications. In the area of guidance, the ASVS offers instructions and information to those who develop security controls on what must be built into such controls to meet application security requirements. In the area of metrics, the ASVS provides a yardstick of sorts against which to assess the degree of trust that applies to their web applications and development efforts. In the area of evaluation criteria, the ASVS works when procuring web applications from third parties to provide a basis for specifying (and enforcing) application security verification requirements in purchase agreements and contracts. As of November 4, 2020, the latest version of the ASVS is 4.0.2. It is available for download from GitHub. The release comes in .ZIP and tar.gz formats, and is approximately 60 MB in size (compressed; ~100 MB uncompressed). The Standard document itself is included in that archive, along with a test runtime. Who uses ASVS? The ASVS page includes an ASVS Users tab that names a variety of companies and agencies that have incorporated this standard into their software assurance toolsets. These include the following: What makes ASVS important for application security? Simply put, ASVS creates a common set of terms and metrics, along with a shared platform so that software developers and engineers can create secure working environments for web applications. The ASVS checks their efforts to […]

Read More

Quickly Learn Mocking In Delphi With Spring4D

In this CodeRage session, Bernd Ua shows you the power and benefits of unit testing and mocking with Spring4D open-source framework. Overview of the Spring4D Spring4D is a great open-source framework to leverage the power of Delphi. In this session, you will learn about the mocking framework contained in Spring4D. We will see how easy it is to get started with mocking and mock out interfaces your classes under tests are using. What is mocking? If you are mocking out something you replace a productive implementation with a special implementation for testing, the so-called mock You can write Mocks manually or use ones that have been automatically created by frameworks The difference between mocks and stubs or dummies is some extra code to log and heck calls made to the mock What a Unit test should not do A Unit test should better not use Databases Network access File Systems External Resouces A Configured Environment So, if your unit test uses one of the above it is more likely an integration test. Be sure to watch the CodeRage session to learn more about mocking and mocking practices in action!

Read More

Powerful Cross Platform Multitrack Music Recording Software Built In Delphi FireMonkey

MultitrackStudio from Bremmers Audio Design is a multitrack music recording software which supports recording, editing and mixing audio and MIDI tracks. With the growth of Mac worldwide, MultitrackStudio developers felt the urgency of making their application available on macOS. They had previously used Delphi with VCL (Visual Component Library) a visual component based object oriented framework for developing Microsoft Windows applications. When Embarcadero Technologies released Delphi with FireMonkey, MultitrackStudio developers reworked their custom controls to work with both VCL and FireMonkey. The Delphi RTL (run time library functions and procedures) provided them with cross platform versions of most common functions and they could program against any C or Cocoa framework. After writing some Mac specific code including Core Audio and Audio Units, they had a running version on macOS. Website https://www.multitrackstudio.com/ Case Study https://www.embarcadero.com/case-study/bremmers-audio-design-case-study Screenshot Gallery

Read More

Start Developing Fast Native Windows Applications With Delphi VCL

In this tutorial, you will learn how to create a Delphi VCL application from the ground. What can you learn from this tutorial: Three common components Explanation of Object Pascal source code Debugger How to change Target Platform (32 or 64 bit) Adding a watchlist Where to learn more about the Visual Component Library? VCL is one of the best known visual component library available in the universe. If your business relies on the Microsoft Windows OS, you should go with VCL! And here are the best sessions available to you to grasp a big body of information. Be sure to check out the external resources and happy learning!

Read More

Free C++ Bootcamp To Quickstart Your C++ Development

Check out the 5-days C++ boot camp! Within this Bootcamp, you get over 10 hours of free training on C++ Builder. What topics this do Bootcamp cover? Building your first application with C++ Builder Creating fast, responsive user interfaces with animations and effects C++11 chat with C++ Experts C++11 Language Deep Dive C++ Game Development Stepping up to Mobile with Q&A for the Bootcamp In this first session, you learn how to create C++ applications, debugging the project, and exploring the features of C++ Builder. For instance, disabling the classic Borland compiler or changing compilation options. Furthermore, there is a short workshop on C++ language itself which covers C++ 11 features and new functions in C++11. Also multithreaded programming in the C++ workshop. When it comes to C++ Builder, you get amazing libraries for instance Parallel Programming library which helps you to process a big amount of calculations efficiently. Be sure to check out the whole Bootcamp sessions!

Read More

Quickly Evaluate A Python Expression In Delphi Using Python4Delphi Sample App

Want to know how to evaluate a Python Expression in Delphi using Python4Delphi? Python for Delphi (P4D) is a set of free components that wrap up the Python DLL into Delphi and C++Builder. They let you easily execute Python scripts, create new Python modules and new Python types. This post will guide you on how to use these components, create a VCL application, run a simple python expression in it, and shows the output message. Python4Delphi Demo2 Sample App shows how to Evaluate a Python Expression by typing the python expression in a Memo, execute and show the message. You can find the Demo2 source on GitHub. Check Demo1 on how to run a simple python script in Delphi. Prerequisites: Download and install the latest Python for your platform. Follow the Python4Delphi installation instructions mentioned here. Alternatively, you can check out this video Getting started with Python4Delphi Components used in Python4Delphi Demo2 App: TPythonEngine: A collection of relatively low-level routines for communicating with Python, creating Python types in Delphi, etc. It’s a Singleton class. Some of the key properties for the component listed here. AutoLoad: Enable this property to load the python DLL automatically. It defaults to true. AutoUnload: Enable this property to unload the python DLL automatically. It defaults to true. DllName: By default, it reflects the latest e.g. python39.dll. But you can provide your registered version. DllPath: Physical location of the Python DLL. InitScript: You can provide the python script here to execute implicitly. IO: Associate the TPythonGUIInputOutput component to this property. RegVersion: Registered python version e.g 3.9. UseLastKnownVersion: If you want to use the latest registered Python version installed set this property to True. 2.TPythonGUIInputOutput: Inherited from TPythonInputOutput (which works as a console for python outputs) Using this component Output property you can associate the Memo component to show the Output. MaxLineLength: Maximum character length per line. MaxLines: Maximum python script lines can be executed using this component. OutPut: Associate the Memo component to show the output. RawOutput: Produce the result as raw output. UniCodeIO: Set true to provide Input and output as Unicode. 3.TMemo: A multiline text editing control, providing text scrolling. The text in the memo control can be edited as a whole or line by line. You can find the Python4Delphi Demo2 sample project from the extracted GitHub repository ..Python4DelphiDemosDemo02.dproj. Open this project in RAD Studio 10.4.1 and run the application. Implementation Details: PythonEngine1 provides the connection to Python or rather the Python API. This project uses Python3.9 which can be seen in TPythonEngine DllName property. PythonGUIInputOutput1 provides a conduit for routing input and output between the Graphical User Interface (GUI) and the currentlyexecuting Python script. Memo1, used for providing the Python Expression and Memo2 for showing the output(instead Memo2 used ShowMessage to show the expression result) Buttons to perform the execution, load script from, and save the script to file. On Clicking Execute Button the script expression is executed using the below code. procedure TForm1.Button1Click(Sender: TObject); var Result : PPyObject; begin with PythonEngine1 do begin Result := EvalStrings( Memo1.Lines ); if Assigned(Result) then begin ShowMessage(Format(‘Eval: %s’,[PyObjectAsString(Result)])); Py_DECREF(Result); end else ShowMessage(‘Could not evaluate the script’); end; end; procedure TForm1.Button1Click(Sender: TObject); var   Result : PPyObject; begin   with PythonEngine1 do     begin       Result := EvalStrings( Memo1.Lines );       if Assigned(Result) then         begin           ShowMessage(Format(‘Eval: %s’,[PyObjectAsString(Result)]));           Py_DECREF(Result);         end       else         ShowMessage(‘Could not evaluate the script’);     end; end; EvalStrings will evaluate the Mathematical expression provided in the Memo1 and return the Python Object(PPyObject). We […]

Read More