Closed dcblogdev closed 8 years ago
:+1:
Thanks!
@daveismyname
Username for 'https://github.com': LuckyCyborg
Password for 'https://LuckyCyborg@github.com':
remote: Permission to nova-framework/bare-app.git denied to LuckyCyborg.
fatal: unable to access 'https://github.com/nova-framework/bare-app.git/': The requested URL returned error: 403
I need full access there!
I've just added you to there now.
Thanks!
@daveismyname You can test the preliminary App with vendor based System. This one:
https://github.com/nova-framework/app
Oh, and someone maybe will raise the hand to update the Language files from App, merging the information from Welcome.php to message.php
There will not be available that old style for translations. :smirk:
OK that installs perfectly threw me at first with the dev address being different but works good.
The language switcher isn't changing language though.
The language switcher isn't changing language though.
It change, but someone should update the Language files. Only the new style APIs available there, you remember?
Partially I updated Romanian, for tests.
BTW, is Nova Testing, after all. You expect me to give you the version four on a half day? :smirk:
ah ok I'm not familiar with the new style language, is that the message.php files?
Personally I won't be using them but I'm sure others will be.
ah ok I'm not familiar with the new style language, is that the message.php files?
Yes. This one. The Key is the original string, the Value is the translated string.
Now going to job. I'll be back!
Ok thanks 👍
@LuckyCyborg
It change, but someone should update the Language files. Only the new style APIs available there, you remember?
I'll update them.
@Kingorgg Thanks, Daniel!
@daveismyname and @Kingorgg I will leave to you the decision how will be implemented the Default (and Only) Template on https://github.com/nova-framework/bare-app
My suggestion is to use the CDN for Assets, or even direct Assets shipping, but no Vendor one.
@daveismyname the demos are important for new users also who may not know how to use the features yet. Having a blank framework without at least a demo leaves people in the dark.
@jimgwhit
he demos are important for new users also who may not know how to use the features yet. Having a blank framework without at least a demo leaves people in the dark.
There we will completely agree! :+1:
And, that's WHY we will ship two APPs for Nova Four: one with all shiny demos, just like on Nova Three, and one stripped bare, for Gurus.
@LuckyCyborg if I want to use the database helper in version 4 could you please tell me how to implement it? Surely version 4 will be flexible enough to use custom helpers etc.
@jimgwhit Just adapt it for App\Helpers.
Eventually, create a Helpers which add the Wheres on top of Database API, which give you long queries. No need to respect 100% the old helper.
@LuckyCyborg said
Eventually, create a Helpers which add the Wheres on top of Database API
Could you give a short example of what this would look like because now all is integrated. Not the where thing but how to go about the integration. Including a helper won't be possible because that will be in vendor I'm guessing so the integration I'm not sure where and how.
But since system is install now via composer any updates will Wipeout any customizations.
Same thing for a Doctrine d-bal usage let's say someone wants to use that where would they implement it to use?
Prior versions was straightforward to implement, almost need access to system to do this correct. System is installed via composer now that takes out flexibility doesn't it?
Don't understand why it's a locked out system now to other databases.
@jimgwhit Come on! Now I should write custom Helpers for you?
When can we start testing with it ?
@southcoastweb
When can we start testing with it ?
It is alive. Use:
git clone https://github.com/nova-framework/app.git novatesting
And go ahead! :smile:
just installed from composer command using app:
composer create-project nova-framework/app -s dev
When I run it:
Cannot use Nova\Core\Template as Template because the name is already in use
In novalocal/app/vendor/nova-framework/system/src/Support/Facades/Response.php
OK. Thanks
Please update the composer
@daveismyname BTW, to avoid delays on packagist updates, I suggest you to use git cloning for now.
that worked ;)
Cannot use Nova\Core\View as View because the name is already in use. /home/nova4/vendor/nova-framework/system/src/Support/Facades/Response.php
is that the one you just done? oops
Do not use composer, use git cloning
Dave know why, the composer give delay.
nice 👍 Im just uploading the bare-app right now to my test server.
Bare App is not ready!
Call to a member function withContent() on null lol i just found that out
You believe that I will give yours the Nova 4 on one freaking day? :smile:
the days not over.. 😃
But the full App is working. Good to test it.
i knew you could type quick if i remove the line withContent() from routes it loads fine to a blank screen Ill remove it and do the full version then
@southcoastweb At Bare App I wait @daveismyname and @Kingorgg to do something with the Default Template which should not rely on Vendor, or we will add 12MB to fat.
This is Bare App, with Vendor shipped Bootstrap 3 for the Default Template
I think we don't any controller or welcome page or template for Bare App. People must write own code there with Bare App we can update our project with a simple pulling
@amiroperator There is no controller beyond the language changer.
The homepage is generated by Routing, directly.
Yet, for now we need a template, to show the Errors Pages. Which are themed.
I'll use a CDN for bootstrap using a single layout file keep is stripped down with a welcome controller. it should come with something to see even it it's tiny.
@daveismyname No Welcome Controller there, just a Route:
Router::any('', function() {
$view = View::make('Default')
->shares('title', __('Welcome'))
->withContent(__('Yup! It works.'));
$template = Template::make('default')->withContent($view);
return Response::make($template);
});
ah that will work.
You don't need all file in default except default.php. Why you are keeping them ?
I know I've been the biggest support on staying v3 but with the constant updates happening I feel it would be better to jump to v4 now and separate the application into app and system to the framework can be updated from a composer update.
thoughts?