Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 09 2018 17:02
    devginie starred ufront/ufront
  • Aug 12 2018 20:19
    wartman starred ufront/ufront-orm
  • Aug 07 2018 17:19
    Blank101 starred ufront/ufront-mvc
  • Jun 18 2018 17:32
  • May 31 2018 11:23
  • May 29 2018 07:35
    postite commented #66
  • Apr 15 2018 10:19
    varadig opened #71
  • Apr 11 2018 16:17

    Blank101 on master

    [php] Check for null with Date.… check for empty string as well … Merge pull request #70 from Bla… (compare)

  • Apr 11 2018 16:17
    Blank101 closed #70
  • Apr 11 2018 16:17

    Blank101 on master

    fixed issue where php would seg… Merge pull request #67 from Bla… (compare)

  • Apr 11 2018 16:17
    Blank101 closed #67
  • Apr 11 2018 16:16

    Blank101 on master

    added enum support to route par… added support for EnumFlags to … bug fixes for EnumFlags / Enum … and 2 more (compare)

  • Apr 11 2018 16:16
    Blank101 closed #65
  • Apr 11 2018 16:01
    Blank101 synchronize #70
  • Apr 04 2018 14:20
    moondowner starred ufront/ufront
  • Apr 02 2018 21:13
    Blank101 opened #70
  • Mar 30 2018 10:46
    varadig closed #69
  • Mar 30 2018 10:41
    varadig edited #69
  • Mar 30 2018 10:38
    varadig opened #69
  • Mar 30 2018 10:20
Jason O'Neil
@jasononeil
Ah sweet!
Maybe I'll just use that directly
Nice work :clap:
Kevin Leung
@kevinresol
If you start from scratch, I suggest you use the "pure" branch in tink_http. Because there are some complete rewrite in the underlying libraries (tink_streams and tink_io, and you use the "pure" branch there as well). tink_http's api is slightly updated there as well.
But it is still WIP and we are focusing on the nodejs target for now. There may be gitches in other platforms.
Ghost
@ghost~58f276add73408ce4f58a423
@jasononeil @kevinresol Thanks for your answers. I think I'll find other solution because I can't get used to a solution that not be with me for long term.
Jason, I'm super happy to hear that you are working on something I'm eager to a minimal but robust framework for haxe/web.
sorry for the late reply, I was flat in my bed for 2 days :'(
postite
@postite
hi guys ! hi @jasononeil really glad to have news from you. i am currently using ufront for an in production project. what i am reading confirms the incoming feeling i had that ufront wasn't going somewhere. i'm sad because i did put a lot af energy to get my head in. I agree on the fact that learning curve in ufront is tough. Several times, i tought about writing tutorials for it but it happened that every time, i had the feeling that i was missing something to be sure i had the right use of it. There are some really good ideas in this framework. But some are too difficult to get in ( the auth system for example was a nightmare for me ). ClientSide is pretty amazing when you get it but it lacks of real control or parts of mystery. One thing that bother me is compilation time ( due to macros which makes the code sometimes unreadable ) and too much classes. starting a project require too much configuration but when you're done , MVC gives you a lot of comfort. I don't have the knowledge nor the talent to develop one of those project ( dev is just a part side of my work ) so i'm stuck with open source projects like ufront. But i really like haxing and i'm grateful to you people like @jasononeil and @kevinresol who take time for those libs and share it to the world (and people like me ). thanks . will look into moonsoon , sugoi and tink libs . but if there is a way for ufront to have a second life, count me in.
Allan Dowdeswell
@ConfidantCommunications
I was saying to @jasononeil that I could contribute in roles that are less coding-heavy; perhaps project management or documentation.
Jason O'Neil
@jasononeil

Hey Allan :)

I was mostly serious when I mentioned that I would be interested in picking it up again if there was some help on hand - so your offer is appreciated!

Can I ask what it is about Ufront that you enjoyed enough, or found promising enough, that you want to keep it going?

The reason I'm asking: I've been doing a project that uses monsoon (https://github.com/benmerckx/monsoon) instead of Ufront and I'm feeling the pain and would like some of the Ufront goodness again... but overall I think the project was too big. If I pick it back up I'd like to collaborate with the work Kevin's been doing on tink_web, which feels very similar to what we had with ufront-mvc. The value we could provide on top of that could be anything, so I'm just interested in the things you cared about most.

@ConfidantCommunications
Allan Dowdeswell
@ConfidantCommunications
Hi Jason,
That's a very good question. First off, I love that UFront offers a unified Haxe codebase where the routing is mirrored on both client and server. I don't have to code both PHP and Javascript and glue the remoting calls together—Ufront just glues things for me. The fact that templates are cached on client and built client-side when possible is really nice and makes for really low bandwidth use. I also like how the templating is built in, and how browser history is used. I can think about that some more but that's what comes off the top of my head. :)
Being able to turn off Javascript and still have a functioning website is a big plus too.
@jasononeil
Jason O'Neil
@jasononeil
Okay nice :) So it really was about the client/server smoothness.
Did you use any of the ufront-ORM database stuff, or the auth classes etc?
Allan Dowdeswell
@ConfidantCommunications
No not yet.
Allan Dowdeswell
@ConfidantCommunications
If you don't mind, I have a current issue I'm trying to sort out. I'm serving pages and when I use .addClientAction on a ViewResult, my action executes twice. How can I avoid that? It seems that the AddClientActionResult class is both inserting the action as inline JS server-side, and doing the execution on client-side.
Going offline for a few hours now…TTYL.
Jason O'Neil
@jasononeil
No worries. Sorry I missed that - I saw the email but I had my laptop die late last week and only got my dev environment back online yesterday! I think you're probably right about the cause of the bug. Will have to investigate
Allan Dowdeswell
@ConfidantCommunications
One more UFront plus is that it's using an MVC pattern, which sits well in my brain.
Taisant Thomas
@taisantt
Hi people I'm new in haxe langage, there is something wrong with my haxe i can not define any variable I still have the same message when I compile my code istill have "Unexpected var"
I really want to try this langage because it's can be the solution for my team 12 developpers
hoops I not in the right forum I go to the Haxe langage
Ghost
@ghost~58f276add73408ce4f58a423
@taisantt can you reproduce you problem in http://try.haxe.org
postite
@postite
@jason (responding here) . about uploads yes . same server local or online. pushed every memeory limit, uploads limits ... but every time i get net::ERR_EMPTY_RESPONSE when file is bigger than 5mb . same files get uploaded on same server with pure php or xhr but not with ufront.
Jason O'Neil
@jasononeil
Can you post a screenshot of the failed request details in chrome/firefox dev tools? Might be helpful to see the encoding types, any params set, or headers etc
Allan Dowdeswell
@ConfidantCommunications
I solved my earlier problem mentioned above by removing an unnecessary call to PushState.init(); in my Client.hx file.
Allan Dowdeswell
@ConfidantCommunications
I have a new StackOverflow question if anybody feels like helping with subcontrollers: https://stackoverflow.com/questions/48672597/what-is-the-proper-syntax-for-using-subcontrollers-with-ufront
postite
@postite
@ConfidantCommunications try to force compilation of your aboutController with dce no or --macro include or use Jason's compiletime. I see you're on Haxe 3.4. I'm still on 3.3.
Allan Dowdeswell
@ConfidantCommunications
I am noticing that the class did compile (AboutController.class.php) but there is a problem with the instantiation.
postite
@postite
@ConfidantCommunications . No clue . Did you try with neko ?
Allan Dowdeswell
@ConfidantCommunications
Not yet. I seem to be making progress by hand-editing the php file. I should be able to report something soon. I have it upgraded from a 500 error to a 404 now. :)
Allan Dowdeswell
@ConfidantCommunications
Yes, it works fine with neko.
Allan Dowdeswell
@ConfidantCommunications
So the question for the ufront gurus is: is there a workaround for this in PHP, or does the code generator macro need tweaking?
Allan Dowdeswell
@ConfidantCommunications
For the record, I tried dce no and --macro include to no avail.
Gabor Varadi
@varadig
Hi, Somebody has this issue too, or I did something wrong?
ufront/ufront-mvc#68
Renato Marinho
@renatomarinho
This message was deleted
shyamkumar123
@shyamkumar123
how will create web application structure using haxe and ufont .
how will connect to database using ufont and haxe
please share some web application example on haxe and ufont.
i am very new in haxe and ufont
shyamkumar123
@shyamkumar123
my target is node js and mysql database.
Gabor Varadi
@varadig
Ghost
@ghost~58f276add73408ce4f58a423
ufront abandoned isn't?
postite
@postite
@mikicho not active .. but some people still use it
Ghost
@ghost~58f276add73408ce4f58a423
ok
Allan Dowdeswell
@ConfidantCommunications
Does anyone have any tips on setting up my routes to handle a POST variable that contains hyphens? I'm trying to incorporate a Recaptcha to my contact form, and Google insists on using a parameter named "g-recaptcha-response" which the Haxe compiler complains about. It seems it is possible to use the "rest" parameter within the "args" part of the handler function (I looked at line 288 in the ControllerMacros.hx file) but when I compile and submit my form it generates a PHP error: "Missing parameter rest". Help please?
Allan Dowdeswell
@ConfidantCommunications
It seems the best solution will be to use one of Google's alternate methods for getting the user response code, which would let me use a different POST variable.
Ghost
@ghost~58f276add73408ce4f58a423
'