Lars-Erik Roald Profile Banner
Lars-Erik Roald Profile
Lars-Erik Roald

@lroal

Followers
642
Following
704
Media
46
Statuses
2,497

Maintainer of Orange ORM -

Trondheim
Joined November 2009
Don't wanna be here? Send us removal request.
Explore trending content on Musk Viewer
@lroal
Lars-Erik Roald
11 months
@themarcba If performance is an issue, I use a single for loop instead.
1
0
24
@lroal
Lars-Erik Roald
1 year
@t3dotgg I don't get why Next.js community get so fuzzed up by this. This is in essence what Next.js is about. You either drink the cool aid or you switch back to SPA. Putting the server code in a separate function or in another layer really doesn't change anything. And remember
3
1
9
@lroal
Lars-Erik Roald
1 year
Relational writes are wonderfully straightforward to manage with RDB, : #orm #node
Tweet media one
0
1
5
@lroal
Lars-Erik Roald
11 years
Using a text editor for merge conflicts is less hazzle than using a merge tool. #git #csharp
0
0
0
@lroal
Lars-Erik Roald
1 year
@jocareabilitado Yes, except for migrations which rdb does not have (yet)
2
0
5
@lroal
Lars-Erik Roald
10 years
1
2
5
@lroal
Lars-Erik Roald
11 months
Tweet media one
0
0
5
@lroal
Lars-Erik Roald
10 years
Just published http://t.co/noj3erlgPB v0.2.7 - #ORM for #postgres . New method, toDto() and bugfix in toJSON. #nodejs #javascript
0
1
5
@lroal
Lars-Erik Roald
10 years
Just published http://t.co/zwoAF3TpeQ v0.4.6 Fixes memory leak in test runner #javascript #tdd #mock #nodejs
0
1
3
@lroal
Lars-Erik Roald
10 years
rdb 0.4.3 is out. http://t.co/mjzmqGMGQH Can ignore columns when serializing to dto. Useful for sensitive data. #nodejs #mySql #PostgreSQL
0
2
4
@lroal
Lars-Erik Roald
10 years
0
2
3
@lroal
Lars-Erik Roald
9 years
0
1
4
@lroal
Lars-Erik Roald
1 year
@vicradon To avoid boiler plate setup, less code and more expressive front end.
1
0
4
@lroal
Lars-Erik Roald
10 years
More examples on usage of rdb #ORM . See dry folder for code layout in production environment. #nodejs #javascript
0
2
4
@lroal
Lars-Erik Roald
10 years
Just published v0.4.4 Can mock promises. Crashing test setup reported as inconclusive. #javascript #bdd #tdd
0
0
3
@lroal
Lars-Erik Roald
1 year
@DanShappir They don't know what they are talking about. This is just sad. They are too far away from the conflict to truly understand.
1
0
3
@lroal
Lars-Erik Roald
10 years
Just published http://t.co/noj3erlgPB - ORM for postgres Not documented yet, but examples at http://t.co/XoakjsJIn0 #nodejs #ORM #javascript
0
0
3
@lroal
Lars-Erik Roald
1 year
@DanShappir @anershab Isn't that the whole idea behind nextjs ? To remove the distinction between frontend and backend. (Not that I am fan of it)
1
0
3
@lroal
Lars-Erik Roald
1 year
I like this attitude: "...For every complex problem, there is an answer that is either clear, simple, or wrong.." Variation of quote from H. L. Mencken (Taken from bio of @salimkarbm )
0
0
3
@lroal
Lars-Erik Roald
11 months
Hey everyone! 👋 I have been working on the RDB orm since 2014 and would really appreciate your help to reach 528 stars. ⭐️ I take pride in making RDB as intuitive and slick as possible. Thanks for your support ♥
0
2
4
@lroal
Lars-Erik Roald
1 year
Does anyone have experience with ? It seems very slick - especially for ENV handling. I cannot find a specific pricing about database - I guess you only pay for CPU time. How man GBs is inluded ?
0
0
2
@lroal
Lars-Erik Roald
1 year
I was surprised how many things I didn't know about HTML and it's APIs. Thing's have definitely evolved in HTML land the last years. Take the survey yourself. State of HTML 2023
0
0
3
@lroal
Lars-Erik Roald
1 year
@eXigentCoder Thanks. MongoDB is a perfect fit as long as you don’t need relations and third normal form.🙂
1
0
2
@lroal
Lars-Erik Roald
3 years
Primevue is really, really impressing. It supports Vue 3 as well. Other Vue frameworks are way behind. I am surprised it is so little known. #vue #javascript
0
4
3
@lroal
Lars-Erik Roald
11 years
Just published v0.4.0 Cleaner output on failed assertions. More conventions on act chaining. #nodejs #bdd #tdd
0
1
3
@lroal
Lars-Erik Roald
10 years
Just published http://t.co/noj3erlgPB - ORM for postgres. Lots of examples. #nodejs #ORM #persistenceIgnorance Please RT if you like it.
0
0
3
@lroal
Lars-Erik Roald
10 years
Just published v0.4.5 Inconclusive suites with stack trace. Changed promise dep. #javascript #tdd #mock #nodejs
0
0
3
@lroal
Lars-Erik Roald
1 year
@bensonarafat Yes, but these are in multiple tables.
0
0
3
@lroal
Lars-Erik Roald
11 months
@RealEmirHan Full metal jacket
Tweet media one
0
0
3
@lroal
Lars-Erik Roald
1 year
@MickeyDii I has been actively maintained since 2014. I cannot give any guarantees, but there is nothing indicating it shouldn't be supported for the next 10-15 years. My employer is dependant of it. So we use it every day.
1
0
1
@lroal
Lars-Erik Roald
1 year
@kofl85135816l4 To present data in ui. You cannot do raw sql from browser. It still goes through a REST api - but complexity is hidden. There is more information in the section called “in the browser” in the readme.
0
0
2
@lroal
Lars-Erik Roald
1 year
@DivingDeveloper It just an advanced rest api. You cannot create raw sql on client. It has full safety with json webtoken. Read the section in the browser. It explains.
1
0
3
@lroal
Lars-Erik Roald
11 months
@zaideygrek No, sorry. Until now, I have prioritized new features instead. I need to look into that. I can create a separate repo for it. But it won't happen overnight ☺️. Maybe for Christmas. 🧑‍🎄
1
0
1
@lroal
Lars-Erik Roald
8 years
#React vs web components A post from 2015
0
1
1
@lroal
Lars-Erik Roald
1 year
Encapsulation is the most powerful principle in programming. It applies to all programming paradigms - not only OOP. Hiding our implementation will make it easy to change it without breaking things that are not related to the change we are making. A well designed api also gives
0
1
2
@lroal
Lars-Erik Roald
1 year
@CanRau @DrizzleORM I will answer you later this week. 🙂
0
0
2
@lroal
Lars-Erik Roald
11 months
@Madisonkanna Use left hand mouse
0
0
0
@lroal
Lars-Erik Roald
1 year
@krishnaa404 @jocareabilitado Name your script files 00001.sql...99999.sql. After script is run, insert current script no in some dbversion table. Only run script that have higher number than current in dbVersion. Always wrap a transaction around your script.
2
0
0
@lroal
Lars-Erik Roald
10 years
rdb 0.4.6 is out. Object-Relational-Mapper http://t.co/Kvw9twx6K7 Upgraded dependencies. #nodejs #javascript #orm
0
1
2
@lroal
Lars-Erik Roald
1 year
@housecor Humans are not perfect. We are not able to have clean, atomic and readable commits at an early stage. If we do, we are probably cheating with commit history. Unless the change is small and trivial.
0
0
1
@lroal
Lars-Erik Roald
1 year
@orangeorm
Orange ORM
1 year
Default values is now documented.
0
0
0
0
0
2
@lroal
Lars-Erik Roald
10 years
0
1
2
@lroal
Lars-Erik Roald
5 years
Jeg kom over en modul fra 2018 med en del regex. Hvem har kodet dette ? Kunne han ikke valgt en annen måte enn Regex ? Mulig han hadde gode grunner... Ingen integrasjonstester heller...Det hadde jo forenklet litt da.. Det viste seg at forfatteren var meg.
0
0
2
@lroal
Lars-Erik Roald
11 years
Just published v0.4.3 Reset mocks. #nodejs #bdd #tdd
0
0
2
@lroal
Lars-Erik Roald
11 months
@gautegg Ja, rart. Jeg er også av samme oppfatning. Eldre har også god nytte av det i følge en del artikler.
0
0
1
@lroal
Lars-Erik Roald
1 year
@mubaidr Yes, no reverse db-engineering. But that can often be sweet, but very painful. Models by hand are however, pretty straight forward.
1
0
1
@lroal
Lars-Erik Roald
11 years
Great talk on presentation patterns by @neal4d . It saved the day. #ndcoslo
0
1
1
@lroal
Lars-Erik Roald
11 months
@zaideygrek Yes, comparison is a must. Thanks. Feel free to ask me anything about rdb - here or in GitHub/ discord.
0
0
1
@lroal
Lars-Erik Roald
11 months
@TheJackForge In Europe, there is more social equality. Being a software developer is just a job. It does not make you special.
0
0
2
@lroal
Lars-Erik Roald
1 year
@codewithkhalil Rdb has not migrations though - i might look into that.
0
0
1
@lroal
Lars-Erik Roald
10 years
@jasongorman I was unsatisfied with current ORMs (nodejs), so I created
0
0
2
@lroal
Lars-Erik Roald
10 years
@jayharris nice slides about #nodejs #tdd . You didn't consider http://t.co/zwoAF3TpeQ - for #bdd and #mocking ?
1
0
2
@lroal
Lars-Erik Roald
1 year
@AbdulM96306928 With RDB you map tables with pure javascript - and you get intellisense at design time. In prisma, there are schema files in own language - and a code generation step. RDB has a very succint, straightforward and intuitive syntax. You can use a lambda like syntax for creating
0
0
2
@lroal
Lars-Erik Roald
11 months
Vote for rdb as tool of the week at devhunt.
@devhunt_
Dev Hunt
11 months
@rdb_orm offers an intuitive querying model for easy data handling. Its concise API simplifies database interaction, eliminating the need for code generation and ensuring full IntelliSense. 🔴 Live on Dev Hunt →
1
0
0
0
0
2
@lroal
Lars-Erik Roald
11 months
@ILTech_95 You should consider
0
0
2
@lroal
Lars-Erik Roald
11 months
@HammzaAk @ujjwalr56153799 Yes. And it has built-in types.
1
0
1
@lroal
Lars-Erik Roald
1 year
@icelabaratory Yes, in implicit transaction
1
0
1
@lroal
Lars-Erik Roald
11 years
Domain is the closes thing you get to thread singletons in #nodejs .
0
1
1
@lroal
Lars-Erik Roald
1 year
@eXigentCoder Maybe I should consider a MongoDB adapter. But is there any point at all creating an “ORM” for NoSql ? You could get help with building filters and applying partial updates/patch though..
1
0
2
@lroal
Lars-Erik Roald
10 years
Just published http://t.co/noj3erlgPB v0.3.4, #ORM #postgres Case insensitive filters: iContains, iStartsWith, IEndsWith #nodejs #javascript
0
0
2
@lroal
Lars-Erik Roald
1 year
@jherr @nextjs The world isn’t ready yet. In a year or two, it will be widely accepted without any question.
0
0
2
@lroal
Lars-Erik Roald
1 year
@orangeorm
Orange ORM
1 year
rdb @3 .2.3 is out. Conflict resolution on INSERT / upsert.
Tweet media one
0
0
2
0
0
2
@lroal
Lars-Erik Roald
1 year
I don't get why Nextjs community get so fuzzed up by this. This is in essence what Nextjs is about. You either drink the cool aid or you switch back to SPA. Putting the server code in a separate function or in another layer really doesn't change anything. And remember this is a
@peer_rich
Peer Richelsen — oss/acc
1 year
i'm not sure man
Tweet media one
529
448
6K
1
0
2
@lroal
Lars-Erik Roald
13 years
My summary of #ndc2011 : "Javascript is the last programming language - not Clojure". #js #nodejs
0
2
2
@lroal
Lars-Erik Roald
10 years
@CooperPress I have just published an #ORM for postgres.It might be of interest for #javascript weekly / node weekly. http://t.co/Kvw9twxEzF
0
1
2
@lroal
Lars-Erik Roald
1 year
@gliba008 jsonwebtoken in headers. See interceptors in the section about the browser.
0
0
2
@lroal
Lars-Erik Roald
1 year
@zyzer01 You choose the “blue pill”, You can take “red pill”. 🙂 If you don’t try it, you don’t know what you are missing out. Give it a try !
1
0
2
@lroal
Lars-Erik Roald
11 years
Just published v0.3.8 Cleaner stack trace on mock errors. #nodejs #bdd #tdd
0
2
2
@lroal
Lars-Erik Roald
1 year
@MaiBhavishyaHoo @pranjalsoni_ @DrizzleORM You can use with pure js and still get full intellisense. No code generation step.
0
0
2
@lroal
Lars-Erik Roald
11 months
I created a repo for the youtube tutorial on RDB. Use VS Code with remote container extension to run the entire thing + sql server in a development container. #orm #typescript
0
0
2
@lroal
Lars-Erik Roald
1 year
@AtanasMarkov79 It is in principle just an advanced rest api. It is not possible to do raw queries on the client. According to your logic, no rest api should be exposed at client either.
0
0
2
@lroal
Lars-Erik Roald
9 years
What if whole promise thing is a big mistake and obselete in a few years ? Syntactical sugar or core lang. feature? #nodejs #ThinkingOutLoud
0
1
1
@lroal
Lars-Erik Roald
11 months
@J_ti4na Nice. Have you considered ? I think the use case would be even simpler there. Also, you could access the terretories directly by calling db.terretories.getMany( filter, fetchingStrategy) .
1
0
1
@lroal
Lars-Erik Roald
12 years
Reading 1Q84 by @harukimurakami_ . Book 1 & 2 . #ThingsDoToWhenOnVacation
0
0
1
@lroal
Lars-Erik Roald
7 years
@dkarlovi We decided to create our own lib cause there weren't mature enough out there. Open sourcing it was kind of a side effect.
0
0
1
@lroal
Lars-Erik Roald
12 years
I will design a post install hook in package.json that will merge into a clientside require. #nodejs #npm
0
0
1
@lroal
Lars-Erik Roald
11 months
@DanShappir At least I didn’t snore. 😴
0
0
1
@lroal
Lars-Erik Roald
1 year
@No_Guile Sorry for late reply. Did not see it. No, I should add Postgis support. I need to check out time - it might work without any changes.
0
0
1
@lroal
Lars-Erik Roald
1 year
@JosiahAdemeso @daredevil_blac Have you considered ? You can fetch rows directly from the browser in a safe manner. Hosted in ExpressJs. Full intellisense at client - also in browser. No build step. Concise, mature with rich filtering. Works for plain javascipt and typescript. ESM&CJS
0
0
1
@lroal
Lars-Erik Roald
11 months
@d151005 You should try out as ORM
1
0
1
@lroal
Lars-Erik Roald
9 years
@HansMakart glad to help.
0
0
0
@lroal
Lars-Erik Roald
12 years
After many years the apprentice developer becomes a professional. Then the boss suggests: "friend, you should do management." -What a waste.
0
0
1
@lroal
Lars-Erik Roald
1 year
@drewhamlett @jamonholmgren Have you considered ? You can fetch rows directly from the browser in a safe manner. Hosted in ExpressJs. Full intellisense at client - also in browser. No build step. Concise, mature with rich filtering. Works for plain javascipt and typescript. ESM&CJS
0
0
1