Spatial MySQL with Entity Framework - mysql

Is this possible now to use Spatial with MySql and Entity Framework? Couldn't find blog nor document nor help about that. Any direction is appreciated.

Not that I know of yet, but seeing how Devart recently released support for Migrations, I'd expect them to follow up with spaital support pretty soon too.

Related

Not sure about the way to approach to the IndexDB API and wrapper libraries?

I have started a crash course of IndexDB API. I have heard from the author that the API is a little bit confusing. Primarily, as we have been working with the promise pattern as this API doesn’t use this pattern. Secondary, there are different wrappers, one of them seems is from Github author’s personal library so I suppose he have created it.
However looking for a different flavor, I found this one: http://dexie.org/. Also supports the Promise pattern. See http://dexie.org/docs/Promise/Promise, http://dexie.org/docs/API-Reference#query-items . It seems “promising”.
Also I found that the IndexDB 2.0 API was created post the video time. It is already being supported since beginning of 2017. From a Mozilla developer, I found since Firefox 51 (Jan 2017) it is already there. And he wrote what’s the differences among 1 and 2 versions https://hacks.mozilla.org/2016/10/whats-new-in-indexeddb-2-0/
So my question is if at this point is better to use the wrapper libraries or to use the native IndexDB API in terms of cross-browsing and support and better practices?
It all depends on what you want to do with indexeddb -
If you are learning indexeddb for your interest or for knowledge then you should go for plain indexeddb. Learn and research as much you can, because it has too many apis and you will have to write code for every type of situation.
You want to use indexeddb in your project and dont have much time to explore indexeddb. You only want to do some database operations and release your project. In this case - you should go for indexedd library. This way you dont need to worry about indexeddb code . You will just write simple code using the library.
For instance : check out this article - https://dzone.com/articles/crud-operation-in-indexeddb-using-jsstore. How a library makes indexeddb so easy.
Hope this will help you.

How can I generate a software update package?

I am searching for a peace of software that permit me to build a package that will perform update of already delivered software.
Because I am using Liquibase, I am searching something that would work a little bit like Liquibase.
I think this software, may need to be configured be providing it what actions have to be done for updating from version X-1 to version X.
And the package will be an aggregation of every steps, and by detecting that the version X-t is installed, it will then need to execute t actions to make the update to version X.
I know that StackOverflow is not meant to answer to this kind of questions, but I don't really know how are named this kind of software nor where to search for it.
If this can run on Linux and Windows it would be great.
What you describe sounds a lot like what a package manager does. Some of them support delta updates.
By the problem definition it sounds like you need to create installation packages.
For the windows platform have a look at WiX, - it covers all possible needs, and imho is the best of its class. But has a bit steep learning curve.
Another fair windows alternative is InnoSetup - way easier, but not so mighty.
I am not familiar with an installer framework which can do for both Linux and Windows.
If you are totally new in the field, this is a good point to start digging from.
I am using "Setup Factory" for this porpose,
You can create patches and you cand create updates.

Combining Cocoa and MySQL

i was searching SO for help on this, but i can't seem to find a concrete solution.
Is, or isn't it possible to connect to a mysql database with Cocoa?
Because i'm working on a program that i'd like to extend to a database, but i sure as hell don't know how!
I mean, that cocoa-mysql package is heavily outdated, and i dont even know what a C wrapper is!
Can someone please tell me how to do this, or atleast burst my bubble to tell me that it can't be done?
Thanks!
Since Core Data came out, I'm not surprised that other DB-wrapping Cocoa libraries are falling out of date. If you don't need to specifically wrap a MySQL DB, then I'd look at Core Data and its SQLite backend. It's available for both Mac OS and iPhone platforms.

Best ORM option from ASP.NET MVC to mySQL

I have been using Linq-to-SQL. What is a good option for working with mySQL? I have been looking at NHibernate, Entity Framework, etc. Some comparisons (pros, cons) would be helpful
LLBLGen. The current version 2.6 is awesome. The designer is really easy to use, supports entity inheritance, type converters (which also can be used to bridge the gap between different types across RDBMS), validation, auditing, authorization and a ton more. Most importantly though, their documentation is stellar and their support forum is very responsive. The lead developer (who is also on stackoverflow) also answers users questions. I can't say enough about this tool, try it. It is well worth the cost.
The next version is probably going to blow everything else out of the game. In addition to being able to generate their traditional data later, you will be able to gen nHibernate mapping files, entity framework and linq2sql.
Here is a discussion comparing LLBLGen to Entity Framework and to nHibernate (of course it might be biased since it is on their forum).
http://www.llblgen.com/tinyforum/Messages.aspx?ThreadID=12811
http://www.llblgen.com/tinyforum/Messages.aspx?ThreadID=14659
Have a look at Mindscape LightSpeed. It includes LINQ querying and a Visual Studio designer that works with MySQL natively. You can update your database or sync changes from your database directly from within the LightSpeed designer also.
Mindscape also publish an open source repository of helpers for asp.net MVC which includes things they have built up to make development with LightSpeed and MVC easier (for example, you'll likely end up wanting a custom ModelBinder for whatever underlying model objects you use - Mindscape provide one that is richer than the default model binder).
There is a free version available to play with:
Mindscape LightSpeed
One of the guys at Mindscape has also written a fairly deep set of blog posts about building up an ASP.NET MVC solution using LightSpeed (although it's probably helpful no matter what you're using :-)
ASP.NET MVC & LightSpeed Blogs Posts
Nhibernate is quite mature and seems be to lighter compared to Entity framework.
Entity Framework works for most things in MySQL. You will notice problems here and there, but chances are they'll all be manageable issues.
Try DbLinq.
It's not a full port of Linq to SQL, but it does the basics.
I haven't used it yet, but there also Linq support in nHibernate now (check the link).
The biggest downside to Entity Framework is the lack of native Lazy Loading. I've used NHibernate and Entity Framework - personally I prefer the richness of NHibernate but Entity Framework is fairly quick and easy to get going and isn't as bad as the rep it sometimes get.
Check out Telerik's OpenAccess ORM. It's free for any free or Open Source database platforms (in your case, MySQL), and provides a slick and easy-to-use GUI. Not to mention that Telerik has great support forums and a huge library of video training.
OpenAccess offers LINQ support, POCO, forward- and reverse-mapping, advanced caching, lazy- and aggressive-loading, no reflection, medium trust, and more. I use it daily (for MS Sql and Oracle data access) and have found it to be a great solution in enterprise scenarios and for my own personal projects.
Try NEntityDb. It allows you query and save data to the database with .NET LINQ Expressions and Fluent API, and eliminate the need for most of the data-access code they usually you need to write.

Cocoa MySQL Framework pointers and/or advice?

Hey, I'm looking to find a good MySQL framework for Cocoa that I can use in my XCode projects to access a database on the web. Do you know of any good, open source/free ones? I have looked at http:// mysql-cocoa.sourceforge .net/index.html but haven't had a chance to play with it. Should I start there or is there something better?
Thanks in advance!
You almost answered your own question! Take a look at MySQL-Cocoa.
I've had a good experience wrapping simple queries in NSOperation objects for easy multi-threading.
Try:
MySQL Framework for iPhone :
http://www.eval-art.com/2009/06/22/mysqlframework-for-iphone/