Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 30 09:08
    scala-steward closed #204
  • Sep 30 09:08
    scala-steward commented #204
  • Sep 30 09:08
    scala-steward opened #210
  • Sep 19 10:52
    sake92 labeled #18
  • Sep 18 00:52
    scala-steward closed #196
  • Sep 18 00:52
    scala-steward commented #196
  • Sep 18 00:52
    scala-steward opened #209
  • Sep 18 00:52
    scala-steward closed #195
  • Sep 18 00:52
    scala-steward commented #195
  • Sep 18 00:52
    scala-steward opened #208
  • Sep 16 22:56
    scala-steward closed #205
  • Sep 16 22:56
    scala-steward commented #205
  • Sep 16 22:56
    scala-steward opened #207
  • Sep 13 07:06
    scala-steward closed #201
  • Sep 13 07:06
    scala-steward commented #201
  • Sep 13 07:06
    scala-steward opened #206
  • Aug 16 14:43
    scala-steward closed #199
  • Aug 16 14:43
    scala-steward commented #199
  • Aug 16 14:43
    scala-steward opened #205
  • Aug 15 09:28
    scala-steward closed #203
Sakib Hadžiavdić
@sake92
instead of manually stitching HTML
drocsid
@drocsid
Yeah I'm not really a great web page designer, just know some basic css stuff...
Ok, I will keep hacking away at it. Might just remove the whole withAuthor and Date business. I'm not really building a blog but more of an info site ...
Sakib Hadžiavdić
@sake92
yeah, here's source code of my site https://sake.ba
very basic, no blog stuff involved:
There's also this one: https://github.com/alexjbush/alexjbush.github.io/tree/source
but it doesn't use much of Hepek's abstraction, only the rendering part
mostly manually written HTML
drocsid
@drocsid
I used the img("https://....") but it just put the text on my page
Yeah I did actually follow the link to your page earlier. I'm trying to make something a little prettier... But anyhow thanks again. I'm enjoying building the site with your project!
Sakib Hadžiavdić
@sake92
glad you like it.. :tada:
maybe img(src:="...") ?
drocsid
@drocsid
Ahh yeah. ScalaTags... Was thinking I should pop the documentation open for that. Sort of sleep deprived at this point. But driven to get a page built...
Do you know why the operator is := instead of just =?
Sakib Hadžiavdić
@sake92
it would have to be a named parameter then
now it accepts AttrPair*
which you construct with abc := "something"
you can put them in lists etc.
would be cumbersombe otherwise, I think
drocsid
@drocsid
Thanks. I will have to think about AttrPair* vs named parameters after I get some sleep..
I think the * is for varargs or variable length...
Sakib Hadžiavdić
@sake92
ofc, get some sleep first! :smile:
gotta go
drocsid
@drocsid
Yeah I should probably do that... Didn't get it built quick enouf...
Sakib Hadžiavdić
@sake92
Bundles API has been changed a bit.. Moved from inheritance to case classes
now you just use with*-ers :)
Shubham Kamthania
@ikamthania
Hey @sake92 I was working on a chat like application using hepek. For dynamically rendering does hepek have any templating support or only option is to use js ?

What I need is something like

xhr map {
    render hepek component
  }

Don't wanna go scalajs route

is it possible ?
May be not since hepek is server side still asking.
Sakib Hadžiavdić
@sake92
You'd have to use JS for that
I do have plans to support ScalaJS in hepek components
when I find some time
Shubham Kamthania
@ikamthania
Ok thanks for the info. Do you have a design in mind how do you plan to do that ?
Sakib Hadžiavdić
@sake92
yeah, already have some working code
just need to separate the platform independent hepek-components
there is some stuff that relies on JSoup and other Java libraries
Shubham Kamthania
@ikamthania
is it on github yet ?
Sakib Hadžiavdić
@sake92
nope, not yet :D
not finished yet
Shubham Kamthania
@ikamthania
No problem. Count me in as a super early adopter
Sakib Hadžiavdić
@sake92
hehe, thanks :smiley:
with ScalaJS you usually use a reactive library
I tried ScalaRx but didn't like it, all those implicits and owners stuff..
It would fit nicely with Hepek also I think