I begin to program some handheld program as hobby, right now i currently have knowledge on Blackberry App (Java), Symbian S60 (PyS60) and J2ME
我开始编写一些手持程序作为业余爱好,现在我目前已经掌握了Blackberry App(Java),Symbian S60(PyS60)和J2ME的知识
Something that i wanna learn was Windows Mobile/Pocket PC and iPhone development, but since i don't use Mac so i step to Windows Mobile/Pocket PC development
我想学习的东西是Windows Mobile / Pocket PC和iPhone开发,但由于我不使用Mac所以我步入Windows Mobile / Pocket PC开发
Here some question:
1. Which is better Lazarus or Turbo Delphi.Net?
2. Do both have some kind support of network access (GPRS, Wi-Fi, HSDPA, etc)?
3. Do both have database access, both remote database and standalone/embed database? like SQL Server 2005 CE?
4. Do i need some driver installed on Windows Mobile/Pocket PC to be able to work with SQL Server 2005 Developer on server i already have?
这里有一些问题:1。哪个更好Lazarus或Turbo Delphi.Net? 2.两者都有网络接入(GPRS,Wi-Fi,HSDPA等)的支持吗? 3.两者都有数据库访问权限,包括远程数据库和独立/嵌入数据库?喜欢SQL Server 2005 CE? 4.我是否需要在Windows Mobile / Pocket PC上安装一些驱动程序才能在我已经拥有的服务器上使用SQL Server 2005 Developer?
If possible answer point-by-point
如果可能的话逐点回答
Thanks
4 个解决方案
#1
I never tried Turbo Delphi .NET, but afaik CodeGear stopped that line, so I wouldn't start new development in it. I also heard that CF.NET was not officially supported and a bit ackward. As said I never used it, I hope that others will comment.
我从来没有尝试过Turbo Delphi .NET,但afaik CodeGear停止了这一行,所以我不会在其中开始新的开发。我还听说CF.NET没有得到官方支持,有点尴尬。如上所述,我从未使用它,我希望其他人会发表评论。
Lazarus core functionality works, but many more "outer" parts are not always tested on CE, and you will have to find stuff out yourself.
Lazarus核心功能可行,但更多的“外部”部件并不总是在CE上测试,你必须自己找到东西。
- Roughly the same as under normal delphi/win23. Can access TCP/IP with Indy10 afaik, but to work with network connections you need api calls
- sqlite is sometimes used. In theory all the db drivers should run if their client libraries are available to arm. The DB support should mostly be endian clean. However I don't know which ones are supported. Sql Server variants are generally not supported by FPC, except via ODBC. And I don't know if CE has that.
- Usually you need to have some client lib or a generalized DB connectivity lib ADO/ODBC/JDBC.
与普通的delphi / win23大致相同。可以使用Indy10 afaik访问TCP / IP,但是要使用网络连接,您需要api调用
有时使用sqlite。理论上,如果他们的客户端库可以使用,那么所有db驱动程序都应该运行。 DB支持应该主要是endian clean。但是我不知道支持哪些。 FPC通常不支持Sql Server变体,但通过ODBC除外。我不知道CE是否有这个。
通常,您需要具有一些客户端lib或通用DB连接库ADO / ODBC / JDBC。
Browsing the lazarus/fpc wiki for CE topics could be a good next step. If you persist in CF.NET, I would migrate to VS, and not work with TD.NET.
浏览lazarus / fpc wiki以获取CE主题可能是一个很好的下一步。如果你坚持使用CF.NET,我会迁移到VS,而不是使用TD.NET。
#2
- Lazarus has form designer built in for WinCE applications, Delphi 4.Net doesn't has one, also CG has stopped developing the Turbo Delphi line, and it's support .Net CF 1.1 only.
Lazarus有WinCE应用程序内置的表单设计器,Delphi 4.Net没有,还有CG已经停止开发Turbo Delphi系列,它只支持.Net CF 1.1。
Maybe using Delphi Prism will be better option, because it's support the latest .net framework, and with the new MonoTouch it could be better option for future development with IPhone too.
也许使用Delphi Prism将是更好的选择,因为它支持最新的.net框架,并且使用新的MonoTouch它也可以成为未来使用iPhone开发的更好选择。
Point 2 & 3, I don't have information about them, you could visit Lazarus forums and wiki to have more information, but for Delphi 4.Net it has support for all classes on the .Net framework CF.
第2点和第3点,我没有关于它们的信息,你可以访问Lazarus论坛和维基以获得更多信息,但对于Delphi 4.Net,它支持.Net框架CF上的所有类。
4.If I remember correctly, the .Net CF has drivers for SqlServer Mobile edition and Sql Server, for example it has SqlCEConnection for mobile and SqlConnection for Regular Sql server edition.
4.如果我没记错的话,.Net CF有SqlServer Mobile版和Sql Server的驱动程序,例如它有移动的SqlCEConnection和常规Sql服务器版的SqlConnection。
#3
If I would develop something for a handheld, I would create a webapplication. Only if you need to access the handheld data (pim, gps, ...) it makes sense to create a local running application.
如果我要为掌上电脑开发一些东西,我会创建一个web应用程序。只有当您需要访问手持设备数据(pim,gps,...)时,才有必要创建一个本地运行的应用程序。
But if you want to create something to run on the device, I would go for FPC / Lazarus as well.
但是如果你想在设备上创建一些东西,我也会选择FPC / Lazarus。
#4
Your questions has been answered so I'll reply with my opinions;
您的问题已经回答,所以我会回复我的意见;
- Lazarus: It gives you power of native application, but it's not used widely. Give it a try, see if it fits your needs on the mobile device. Perhaps report bugs and help its development.
- Delphi Prism + .NET CF: Object-pascal alike .NET syntax -which I do not like but that's just my opinion-. Here's a sample video to get started. It lacks form designer for .NET CF so if you stick with it you'll use WinForms designer.
- C# + .NET CF. It has really good IDE for .NET CF development. This is how I rolled for mobile device development and I'm happy with it. ie, if I have a problem the huge .NET userbase most likely has the solution.
Lazarus:它为您提供本机应用程序的强大功能,但它并未得到广泛应用。试一试,看看它是否符合您在移动设备上的需求。也许报告错误并帮助其发展。
Delphi Prism + .NET CF:Object-pascal一样的.NET语法 - 我不喜欢,但这只是我的意见 - 。这是一个开始的示例视频。它缺乏.NET CF的表单设计器,所以如果坚持使用它,你将使用WinForms设计器。
C#+ .NET CF.它具有非常好的.NET CF开发IDE。这就是我推动移动设备开发的方式,我很满意。即,如果我有问题,巨大的.NET用户群很可能有解决方案。
#1
I never tried Turbo Delphi .NET, but afaik CodeGear stopped that line, so I wouldn't start new development in it. I also heard that CF.NET was not officially supported and a bit ackward. As said I never used it, I hope that others will comment.
我从来没有尝试过Turbo Delphi .NET,但afaik CodeGear停止了这一行,所以我不会在其中开始新的开发。我还听说CF.NET没有得到官方支持,有点尴尬。如上所述,我从未使用它,我希望其他人会发表评论。
Lazarus core functionality works, but many more "outer" parts are not always tested on CE, and you will have to find stuff out yourself.
Lazarus核心功能可行,但更多的“外部”部件并不总是在CE上测试,你必须自己找到东西。
- Roughly the same as under normal delphi/win23. Can access TCP/IP with Indy10 afaik, but to work with network connections you need api calls
- sqlite is sometimes used. In theory all the db drivers should run if their client libraries are available to arm. The DB support should mostly be endian clean. However I don't know which ones are supported. Sql Server variants are generally not supported by FPC, except via ODBC. And I don't know if CE has that.
- Usually you need to have some client lib or a generalized DB connectivity lib ADO/ODBC/JDBC.
与普通的delphi / win23大致相同。可以使用Indy10 afaik访问TCP / IP,但是要使用网络连接,您需要api调用
有时使用sqlite。理论上,如果他们的客户端库可以使用,那么所有db驱动程序都应该运行。 DB支持应该主要是endian clean。但是我不知道支持哪些。 FPC通常不支持Sql Server变体,但通过ODBC除外。我不知道CE是否有这个。
通常,您需要具有一些客户端lib或通用DB连接库ADO / ODBC / JDBC。
Browsing the lazarus/fpc wiki for CE topics could be a good next step. If you persist in CF.NET, I would migrate to VS, and not work with TD.NET.
浏览lazarus / fpc wiki以获取CE主题可能是一个很好的下一步。如果你坚持使用CF.NET,我会迁移到VS,而不是使用TD.NET。
#2
- Lazarus has form designer built in for WinCE applications, Delphi 4.Net doesn't has one, also CG has stopped developing the Turbo Delphi line, and it's support .Net CF 1.1 only.
Lazarus有WinCE应用程序内置的表单设计器,Delphi 4.Net没有,还有CG已经停止开发Turbo Delphi系列,它只支持.Net CF 1.1。
Maybe using Delphi Prism will be better option, because it's support the latest .net framework, and with the new MonoTouch it could be better option for future development with IPhone too.
也许使用Delphi Prism将是更好的选择,因为它支持最新的.net框架,并且使用新的MonoTouch它也可以成为未来使用iPhone开发的更好选择。
Point 2 & 3, I don't have information about them, you could visit Lazarus forums and wiki to have more information, but for Delphi 4.Net it has support for all classes on the .Net framework CF.
第2点和第3点,我没有关于它们的信息,你可以访问Lazarus论坛和维基以获得更多信息,但对于Delphi 4.Net,它支持.Net框架CF上的所有类。
4.If I remember correctly, the .Net CF has drivers for SqlServer Mobile edition and Sql Server, for example it has SqlCEConnection for mobile and SqlConnection for Regular Sql server edition.
4.如果我没记错的话,.Net CF有SqlServer Mobile版和Sql Server的驱动程序,例如它有移动的SqlCEConnection和常规Sql服务器版的SqlConnection。
#3
If I would develop something for a handheld, I would create a webapplication. Only if you need to access the handheld data (pim, gps, ...) it makes sense to create a local running application.
如果我要为掌上电脑开发一些东西,我会创建一个web应用程序。只有当您需要访问手持设备数据(pim,gps,...)时,才有必要创建一个本地运行的应用程序。
But if you want to create something to run on the device, I would go for FPC / Lazarus as well.
但是如果你想在设备上创建一些东西,我也会选择FPC / Lazarus。
#4
Your questions has been answered so I'll reply with my opinions;
您的问题已经回答,所以我会回复我的意见;
- Lazarus: It gives you power of native application, but it's not used widely. Give it a try, see if it fits your needs on the mobile device. Perhaps report bugs and help its development.
- Delphi Prism + .NET CF: Object-pascal alike .NET syntax -which I do not like but that's just my opinion-. Here's a sample video to get started. It lacks form designer for .NET CF so if you stick with it you'll use WinForms designer.
- C# + .NET CF. It has really good IDE for .NET CF development. This is how I rolled for mobile device development and I'm happy with it. ie, if I have a problem the huge .NET userbase most likely has the solution.
Lazarus:它为您提供本机应用程序的强大功能,但它并未得到广泛应用。试一试,看看它是否符合您在移动设备上的需求。也许报告错误并帮助其发展。
Delphi Prism + .NET CF:Object-pascal一样的.NET语法 - 我不喜欢,但这只是我的意见 - 。这是一个开始的示例视频。它缺乏.NET CF的表单设计器,所以如果坚持使用它,你将使用WinForms设计器。
C#+ .NET CF.它具有非常好的.NET CF开发IDE。这就是我推动移动设备开发的方式,我很满意。即,如果我有问题,巨大的.NET用户群很可能有解决方案。