What DAL technology to use for a .NET/Angular project? [closed] - angularjs

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I am in the process of setting up a new web app and will be using Angular and .NET WebAPI. I am looking for a robust framework that I can use for the Data Access Layer. Something that I can quickly get up and running but also helps me easily update table objects, setup lookup data and perform post upgrade operations.
In my previous project, I used EF Code first and although it 'works', I found that Migrations are messy and having a clean ability to maintain scripts for upgrade/setup doesn't exist (or I am not aware of).
Which DAL technology can I use?

If you are happy with Entity Framework (migrations aside) and you need to get something up quickly and easily I would recommend to stick with it. You can use the EF "Code First" approach where you create your models and mappings in code without using migrations. You could manage your scripts in a different way such as using a Visual Studio database project or DBUp.
That said the real answer is "It Depends" based on the specific needs of your new project and what you need from your data access layer. There are other SQL-based alternatives such Dapper and even ADO.NET but also other solutions such as RavenDB.

Related

Multiple dbcontext usage abp [closed]

Closed. This question is not written in English. It is not currently accepting answers.
Stack Overflow is an English-only site. The author must be able to communicate in English to understand and engage with any comments and/or answers their question receives. Don't translate this post for the author; machine translations can be inaccurate, and even human translations can alter the intended meaning of the post.
Closed 7 days ago.
Improve this question
I have a single layer mvc project in abp framework, I want to use ms sql server and postgre sql in this project, so I need to use two databases, how can I do? Can you help me?
I added and configured 2 context classes, but couldn't use sql and postresql together. I want to use single tier mvc and 2 databases.

Local database systems for simple application [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 10 months ago.
Improve this question
I have been thinking of making a program to use in my company. I would like to store information in a (local) database and use this to keep track of the payments of my clients. I am most experienced in programming in Java. Do you have any suggestions for these databases?
I believe you are probably looking for SQLite. It is very light, basic, works with SQL,but doesn’t have any built in relational methods to link multiple tables together(JOINS, etc). As you mentioned you’ll be using Java, here’s the SQLITEJDBCPackage. Also, here’s a blog that can help you get started.
On the other hand, there is a wide variety of databases present in the market like:
RDBMS: MySQL, PostgresSQL
NoSQL: MongoDB(can run on cloud and locally), Neo4J
Time Series Database(If you storing IOT or time dependant data): InfluxDB
Cloud Databases(Might not be relevant to you since you want a local setup, but just to help you understand better): Firebase, Neo4J, MongoDB, AWS RDS, etc.

Is it better to store my Strings on Front-End or Back-End [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
This question is a little more generic, a brainstorm one. I'm about to develop a small website, and I still don't know if it’s better for me to store my “Text” (to fill Labels, Messages, etc) data on the Database or just on the frontend.
I know that for a fact, consulting the BackEnd Database is slower than just searching a specific file, but it’s also better to update the list later-on (when the website is developed) by just running a script.
I want to know some opinions, experiences, advantages and disadvantages about both.
Edit: For the technologies, i was thinking in using ExtJS with a Java Backend, I'm not quite sure about the BD yet.
Consider what data you are storing and the purpose of your website.
Advantages of front end storage: quicker
Advantages of database storage: more secure/structured
If your strings are sensitive then I would secure them in your database. Any client information, including "Text" data should be stored on the back end. If the strings are only relevant to you as the site owner then I don't see a problem with storing them on the front end.
Also perhaps specify which technologies you are using to build this site to get more specific responses.

AngularJS vs PHP [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I have developed a basic web app using normal client-side code (not using angularjs) and the Laravel framework for the backend. A friend (in the software business) is joining to help me refine it and he questioned me using a PHP framework and instead says he would re-write it using AngularJS.
Is AngularJS capable of full read/write of a database to create a dynamic website? Since AngularJS is a javascript framework, I only understood that to mostly be used for front-end and a project would still need a back-end language like PHP.
Thanks,
Angular is a front-end (i.e. browser) framework - it can't run on the server without lots of backflips and hacks, and wouldn't buy you a whole lot anyway.
You could write the back end using node.js to connect to your databases and possibly get Angular running partially on the server to generate your initial pages. This is a technique known as "isomorphic javascript" (among other terms). It's an optimization, but if what you've got works I'd stick with it.

Responsive web design and database access [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I am new to both responsive web design and angular and I am working on building a web page that will access database and display things based on data in one of the SQL Server tables. Could someone please point me in the right direction of what can i use to grab data from the database? Do I need a web service? data component? what technology would be best to use?
For the responsive aspect, you can use simple CSS, media queries or any library designed for this purpose (like Twitter-bootstrap for example).
AngularJS won't access database directly since it's a client-side language. You will need to build a server-side application to access the database. Then, your Angular components can call your server-side application to retrieve data.
AngularJS modules + any-technology web-service can be a suitable solution.
The choice of a technology over another highly depends on your needs and constraints. Unless you can ask more precise questions, we cannnot help so much.

Resources