Download Delphi
Download free or trial delphi components or libraries. Delphi, free and safe download. Delphi latest version: Visual development environment for Delphi. Creating and developing new software in the old days was an.
DelphiMVCFramework is the most popular Delphi project on github!
Daniele is working on the DelphiMVCFramework Handbook! Stay tuned!
Paste the request code and paste to the Reqest field of the; 8. If yours are a 32-bit, start the 32-bit, If it is 64-bit, start the 64-bit (if you are using Windows 7 system, choose to run the as an administrator); 7. Autocad 2012 serial key.
How to correctly get the source
It is not needed to download the git repository. Just download the latest version as zip file and you are ok.If you want to partecipate to the testing phase (which usually contains brand new features) you can get the latest Release Candidate version.Take in mind that, even if RCs are usually very stable, they are still not ready for production utilization.
What users says about DMVCFramework
'DMVCFramework is a great framework. It's very intuitive, fast, easy to use, actually there is nothing more to ask for.' -- Samir
'Wow! To do that in J2EE it takes 2 days' -- a training participant after a 5 minutes demo.
'I'm starting with the DMVCFramework and I'm finding it fantastic, congratulations for the project!' -- Rafael
'I'm looking at DMVCFramework project in it works great - for my use case scenarios is much better than 'Similar commercial product'.' -- Luka
'It's fantastic! Just define your entities and you are up and running in 5 minutes. Nothing comparable on the market.' -- Marco
'The best framework for creating web servers with Delphi! It is very easy to create Delphi servers and publish Apis and Rest resources.Congratulations to Daniele Teti and all the staff for the excellent work!' -- Marcos N.
DelphiMVCFramework Main Features
- Simple to use, check the 'Getting Started: 5 minutes guide' and you will be up and running in 5 minutes or less!
- Project Roadmap is always public
- More than 40 samples to learn all the features and be proficient and productive
- RESTful (RMM Level 3) compliant
- JSON-RPC 2.0 Support with automatic objects remotization
- Stable and solid, used by small/mid/big projects since 2010
- Very fast! (3.x is 60% faster than the 2.x)
- Support group at https://www.facebook.com/groups/delphimvcframework with more than 2100 active members
- Can be used in load balanced environment
- Wizard for the Delphi IDE. It makes DelphiMVCFramework even more simple to use!
- Optional session support
- JSON Web Token Support (JWT)
- Extendable using middlewares (simple hooks to handle request/response)
- Flexible yet simple to use, authorization/authentication framework based on industry standards.
- HTTP Basic Authentication
- JWT Authentication
- Custom Authentication
- CORS support
- Controllers inheritance! You can define your own base controller and inherith from it.
- Fancy URL with parameter mappings
- Specialied renders to generate text, HTML, JSON.
- Powerful and customizable mapper to serialize/deserialize data.
- Can be packaged as stand alone server, apache module (XE6 or better) and ISAPI dll
- Integrated RESTClient
- Works with XE7, XE8, Delphi 10 Seattle, Delphi 10.1 Berlin, Delphi 10.2 Tokyo, Delphi 10.3 Rio
- Works on Linux (Delphi 10.2 Tokyo or better)
- Completely unit tested
- There is a sample for each functionality
- There is a complete set of trainings about it, but the samples are included in the project
- Server side generated pages using Mustache (https://mustache.github.io/) for Delphi (https://github.com/synopse/dmustache)
- Specific trainings are available (email to
professionals@bittime.it
for a date and a place) - Messaging extension using ServerSentEvents
- Automatic documentation through
/system/describeserver.info
- Driven by its huge community (Facebook group https://www.facebook.com/groups/delphimvcframework)
- Semantic Versioning
- Simple and documented
- Continuosly tested for Delphi versions incompatibilities by the proud compatibility mantainers
What's Cooking in the Lab
DelphiMVCFramework 3.1.1-beryllium (currently in RC
phase)
- New! Added SQLGenerator and RQL compiler for PostgreSQL and MSSQLServer (in addition to MySQL, MariaDB, Firebird and Interbase)
- Improved! Greatly improved support for HATEOAS in renders. Check
TRenderSampleController.GetPeople_AsObjectList_HATEOS
and all the others actions end withHATEOS
inrenders.dproj
sample)
- Better packages organization (check
packages
folder) - New!
TMVCActiveRecord.Count
method (e.g.TMVCActiveRecord.Count(TCustomer)
returns the number of records for the entity mapped by the classTCustomer
) - Change!
TMVCACtiveRecord.GetByPK<T>
raises an exception if the record is not found - New!
contains
clause has been added in the RQL compiler for Firebird and Interbase - New!
TMVCAnalyticsMiddleware
to do automatic analytics on the API (generates a CSV file). Based on an idea by Nirav Kaku (https://www.facebook.com/nirav.kaku). Check the sample insamplesmiddleware_analytics
- New!
TMVCActiveRecord.DeleteAll
deletes all the records from a table - New!
TMVCActiveRecord.DeleteRQL
deletes records using anRQL
expression aswhere
clause. - New! Microsoft SQLServer Support in ActiveRecord and RQL (thanks to one of the biggest Delphi based company in Italy which heavily uses DMVCFramework)
- Improved!
ActiveRecordShowCase
sample is much better now. - Improved! In case of unhandled exception
TMVCEngine
is compliant with the default response content-type (usually it did would reply usingtext/plain
). - Fix! issue184.
- Breaking Change! In
MVCActiveRecord
attributeMVCPrimaryKey
has been removed and merged withMVCTableField
, so nowTMVCActiveRecordFieldOption
is a set offoPrimaryKey
,foAutoGenerated
,foTransient
(checkactiverecord_showcase.dproj
sample). - Added! New overloads for all the Log* calls. Now it is possibile to call
LogD(lMyObject)
to get loggedlMyObject
as JSON (custom type serializers not supported in log). - Fixed! issue164
- Fixed! issue182
- New!
StrDict(array of string, array of string)
function allows to render a dictionary of strings in a really simple way. See the following action sample.
- New! Custom Exception Handling (Based on work of David Moorhouse). Sample 'custom_exception_handling' show how to use it.
- Improved! Exceptions rendering while using MIME types different to
application/json
. - Improved! JSONRPC Automatic Object Publishing can not invoke inherited methods if not explicitely defined with
MVCInheritable
attribute. - Improved! Datasets serialization speed improvement. In some case the performace improves of 2 order of magnitude. (Thanks to https://github.com/pedrooliveira01)
- New! Added
in
operator in RQL parser (Thank you to João Antônio Duarte for his initial work on this) - New! Added
TMVCActiveRecord.Count<T>(RQL)
to count record based on RQL criteria - New! Calling
<jsonrpcendpoint>/describe
returns the methods list available for that endpoint. - New! Experimental (alpha stage) support for Android servers!
- New! Added support for
X-HTTP-Method-Override
to work behind corporate firewalls. - New Sample! Server in DLL
- Improved! Now Firebird RQL' SQLGenerator can include primary key in 'createinsert' if not autogenerated.
- New! Added support for
TArray<String>
andTArray<Integer>
in default json serializer (Thank you Pedro Oliveira) - Improved! DMVCFramework now has 130+ unit tests that checks its funtionalities at every build!
- New Installation procedure! Just open the project group, build all and install the design-time package (which is
dmvcframeworkDT
)
Delphi Version | Project Group |
---|---|
Delphi 10.3 Rio | packagesd103dmvcframework_group.groupproj |
Delphi 10.2 Tokyo | packagesd102dmvcframework_group.groupproj |
Delphi 10.1 Berlin | packagesd101dmvcframework_group.groupproj |
Delphi 10.0 Seattle | packagesd100dmvcframework_group.groupproj |
Delphi XE8 | packagesdxe8dmvcframework_group.groupproj |
Delphi XE7 | packagesdxe7dmvcframework_group.groupproj |
DelphiMVCFramework 3.1.0-lithium
- New! Added
TMVCActiveRecord
framework (check sampleactiverecord_showcase
andactiverecord_crud
) - New! Added
TMVCActiveRecordController
(check sampleactiverecord_crud
) - Automatic permissions handling for
TMVCActiveRecordController
(check sampleactiverecord_crud
) - EntityProcessor for
TMVCActiveRecordController
(check sampleactiverecord_crud
) Config[TMVCConfigKey.FallbackResource]
is served only if request path is empty or/
.- New! Now the JSON-RPC executor provides methods to handle HTTP headers for JSON-RPC requests and notifications.
TDataSetHolder
is a new render that is able to render a dataset with a set of custom metadata (egcount
,page
etc). Check issue #137404
and500
status code returns always atext/plain
content-type- Refactored ISAPI sample
- Speed improvement! Removed enhanced visibility for action methods. Now only public and published methods can be used as actions.
TMVCController.Create
isvirtual
! Now on your base controllers can be even more powerful!- New! Added
MAX_REQUEST_SIZE
for limiting the size of the incoming HTTP requests. IDE Expert is updated too! - New! Added method
TMVCJsonDataObjectsSerializer.ListToJsonArray
- New!
TMVCResponse
for handle generic (non error) response - New!
TMVCErrorResponse
for handle generic error response - New! Added class
TMVCActiveRecordList
used in the manualTMVCActiveRecord
programming - New! Added
gzip
compression support in addition todeflate
inTCompressionMiddleware
- FIX for issue #143
- FIX for issue #141
- Removed deprecated methods in
IRESTResponse
- FIX misspelled header name in
IRESTResponse
- New! Added
gzip
anddeflate
support inTRestClient
when reading responses TCompressionMiddleware
has been renamed inTMVCCompressionMiddleware
- New!
TMVCCompressionMiddleware
is added by IDE Expert by default - Removed the old JSON serializer based on `System.JSON.pas', now the only available JSON serializer is based on JsonDataObjects parser (Thank you Andreas Hausladen).
- Changed! Custom Types Serializer must be registered by media-type only, without charset definition (e.g. just
application/json
and notapplication/json;charset=utf-8
) - Changed!
IMVCTypeSerializer
is more powerful and simple to use! - Sending wrongly formatted JSON now returns a more correctly
400 Bad Request
and not500 Internal Server Error
as in the previous versions - New! Support for Spring4d nullable types (check
samplesrenders_spring4d_nullables
) - New!
TMVCJSONRPCPublisher
allows to easily expose plain Delphi objects (and even datamodules) through a JSON-RPC 2.0 interface! - Breaking Change! The JSON RPC Client layer is now interface based.
Roadmap
DelphiMVCFramework roadmap is always updated as-soon-as the features planned are implemented. Check the roadmap here.
Trainings, consultancy or custom development service
As you know, good support on open source software is a must for professional users.If you need trainings, consultancy or custom developments on DelphiMVCFramework, send an email to dmvcframework at bittime dot it. Alternatively you can send a request using the contacts forms on bittimeprofessionals website. bit Time Professionals is the company behind DelphiMVCFramework, al the main developers works there.
Using mapping framework in Delphi Starter Edition
A lot of users ask about it, now is possible to use the mapper framework also in Delphi Started Edition. To enable the 'StarterEditionMode' open sourcesdmvcframework.inc
and remove the dot (.) after the curly brace in the following line
{.$DEFINE STARTEREDITION}
become
{$DEFINE STARTEREDITION}
Release Notes
3.0.0 (hydrogen)
- First release of the 3.0.0 version
2.1.3 (lithium)
- FIX https://github.com/danieleteti/delphimvcframework/issues/64
- Added unit tests to avoid regressions
Download Delphi Xe4
2.1.2 (helium)
- FIX for Delphi versions who don't have
TJSONBool
(Delphi XE8 or older) - Added new conditional define in dmvcframework.inc: JSONBOOL (defined for Delphi Seattle+)
2.1.1 (hydrogen)
- Updated the IDE Expert to show the current version of the framework
- FIX to the mapper about the datasets null values (needs to be checked in old Delphi versions)
- ADDED support for boolean values in datasets serialization
- ADDED unit tests about Mapper and dataset fields nullability
- The current version is available in constant
DMVCFRAMEWORK_VERSION
defined inMVCFramework.Commons.pas
Samples and documentation
DMVCFramework is provided with a lot of examples focused on specific functionality.All samples are in Samples folder.Check the DMVCFramework Developer Guide (work in progress).
Download Delphi Ide
Below the is a basic sample of a DMVCFramework server wich can be deployed as standa-alone application, as an Apache module or as ISAPI dll. This flexibility is provided by the Delphi WebBroker framework (built-in in Delphi since Delphi 4).The project containes an IDE Expert which make creating DMVCFramework project a breeze. However not all the Delphi version are supported, so here's the manual version (which is not complicated at all).
To create this server, you have to create a new Delphi Projects -> WebBroker -> WebServerApplication
. Then add the following changes to the webmodule.
Remember that the files inside the redist folder must be in the executable path or in the system path. If starting the server whithin the IDE doesn't works, try to run the executable outside the IDE and check the dependencies.That's it! You have just created your first DelphiMVCFramework. Now you have to add a controller to respond to the http request.
Sample Controller
Below a basic sample of a DMVCFramework controller with 2 action
Now you have a performant RESTful server wich respond to the following URLs:
- GET /users/($id) (eg. /users/1, /users/45 etc)
- PUT /users/($id) (eg. /users/1, /users/45 etc with the JSON data in the request body)
- POST /users (the JSON data must be in the request body)
Quick Creation of DelphiMVCFramework Server
If you dont plan to deploy your DMVCFramework server behind a webserver (apache or IIS) you can also pack more than one listener application server into one single executable. In this case, the process is a bit different and involves the creation of a listener context. However, create a new server is a simple task:
Chiranjeevi mp3 songs free download. If you want to add a layer of security (in its WebModule you should add the security middleware):
In stand alone mode you can work with a context that supports multiple listeners servers:
Links
Feel free to ask questions on the 'Delphi MVC Framework' facebook group (https://www.facebook.com/groups/delphimvcframework).