Better HN
topnewbestaskshowjobs
Log inSign up

flexterra

1,648 karma · joined Oct 31, 2008 (18y ago) · 286 submissions

Submissions

comment 2y ago · link · parent

no

2.

RSJS: Reasonable System for JavaScript Structure(ricostacruz.com ↗)

2 points · by flexterra · 3y ago · 1 comment

comment 4y ago · link · parent

Here's the sortable example: https://htmx.org/examples/sortable/

IMHO something slightly more complex than this example (more client side stat) will require using something like React/Vue/Svelte. But there's no need to rewrite the whole FE. Just create a component that performs the rich client side interaction and use HTMX for the rest of your app. Win-Win.

comment 4y ago · link · parent

Validating data on the client and not doing it again on the server will lead to security vulnerabilities. At the very least you will end up duplicating that validation code.

comment 4y ago · link · parent

IMHO this approach is better for most apps. Remix is bending the curve here. They make it extremely easy to progressively enhance a small part of your UI with all the power of React.

That said, using React on the server side and forcing you to run JS on the server is not my cup of tea...

comment 4y ago · link · parent

The difference in programming model IS THE advantage of HTMX. Changing from react to preact is a perf optimization.

If you are doing the SPA thing correctly you must duplicate business logic (data validation). Also when your API just sends "dumb data" (JSON) to the client, you are forced to make changes to the backend and frontend in lockstep.

comment 4y ago · link · parent

The programming model is totally different when working with HTMX. The server returns HTML instead of a JSON API which is the usual solution when building apps with React/Preact and similar.

8.

Eventually, You Will Need to Upgrade the Crypto(gcollazo.com ↗)

1 points · by flexterra · 5y ago · discuss

9.

Logging Is Important(gcollazo.com ↗)

3 points · by flexterra · 5y ago · discuss

comment 5y ago · link · parent

DDD-Lite

comment 5y ago · link · parent

HTML could and should do more

12.

Extending HTML as a Hypermedia(discourse.wicg.io ↗)

2 points · by flexterra · 5y ago · 2 comments

comment 5y ago · link · parent

I've been using this for years. Is really good and the best feature is that diagrams don't look like crap by default, which is not the case for most code to diagram tools out there. Looking at your Plant UML.

comment 10y ago · link · parent

what is the average size of a native mobile app?

15.

From Homeless to YC Interview in less than a year(medium.com ↗)

4 points · by flexterra · 10y ago · 1 comment

16.

MongoDB.app: The easiest way to get started with mongoDB on the Mac(gcollazo.github.io ↗)

1 points · by flexterra · 10y ago · discuss

17.

Replication Prohibited – 3D printed key attacks [video](youtube.com ↗)

37 points · by flexterra · 10y ago · 10 comments

18.

Upload files to S3 and generate previews using Laravel(jpadilla.com ↗)

2 points · by flexterra · 10y ago · discuss

comment 11y ago · link · parent

https://downdetector.com/status/facebook

20.

An API to convert any file into a PNG or JPEG(filepreviews.io ↗)

1 points · by flexterra · 11y ago · discuss

21.

MongoDB.app v3.0.1 – The easiest way to get started with MongoDB on the Mac(github.com ↗)

1 points · by flexterra · 11y ago · discuss

comment 11y ago · link · parent

Ember's templates allows the framework to determine which portions of the DOM will never change, and so only needing to analyze the portions that might.

  <div class="container"> <-- this won't change
    <h1>Hello World</h1> <-- this won't change
    <div>{{name}} <-- this might change </div>
  </div>

comment 11y ago · link · parent

Cached version: https://webcache.googleusercontent.com/search?q=cache:150k8Y...

24.

Font Analysis in Python(107.170.41.146 ↗)

1 points · by flexterra · 12y ago · discuss

25.

#dockpics - a collection Mac OS dock screenshots(dockpics.tumblr.com ↗)

1 points · by flexterra · 12y ago · discuss

26.

ECMAScript 6 Features(github.com ↗)

2 points · by flexterra · 12y ago · discuss

12345
10